Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Globally distributed applications with Serverle...
Search
mthenw
April 04, 2018
Technology
1
140
Globally distributed applications with Serverless Framework
Serverless Poznań meetup
mthenw
April 04, 2018
Tweet
Share
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
51
The State of Serverless
mthenw
0
690
The State of Serverless (PCUG)
mthenw
0
180
Apex: The Holy Grail of AWS Lambda
mthenw
0
170
Microservices on AWS ECS
mthenw
8
800
Practical React in Marionette application
mthenw
2
610
Working with single-threaded event loop
mthenw
1
320
Bingo Bango Mongo
mthenw
6
400
Are you Redis? Introduction to Redis.
mthenw
2
720
Other Decks in Technology
See All in Technology
How to Quickly Call American Airlines®️ U.S. Customer Care : Full Guide
flyaahelpguide
0
240
M365アカウント侵害時の初動対応
lhazy
5
3.3k
スプリントレビューを効果的にするために
miholovesq
7
1.3k
Ktor + Google Cloud Tasks/PubSub におけるOTel Messaging計装の実践
sansantech
PRO
1
130
今日からあなたもGeminiを好きになる
subaruhello
1
320
自分がLinc’wellで提供しているプロダクトを理解するためにやったこと
murabayashi
1
130
AIを使っていい感じにE2Eテストを書けるようになるまで / Trying to Write Good E2E Tests with AI
katawara
0
210
データ戦略部門 紹介資料
sansan33
PRO
1
3.3k
SRE with AI:実践から学ぶ、運用課題解決と未来への展望
yoshiiryo1
1
620
Four Keysから始める信頼性の改善 - SRE NEXT 2025
ozakikota
0
460
TROCCO今昔
gtnao
0
180
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
6.9k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Music & Morning Musume
bryan
46
6.7k
Balancing Empowerment & Direction
lara
1
480
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Why Our Code Smells
bkeepers
PRO
337
57k
We Have a Design System, Now What?
morganepeng
53
7.7k
Designing for Performance
lara
610
69k
Transcript
GLOBALLY DISTRIBUTED APPLICATIONS WITH SERVERLESS FRAMEWORK
Maciej Winnicki Principal Software Engineer Serverless, Inc.
@mthenw
what is serverless
(re)volution of the cloud
focus on business logic less concerns about stack implementation https://medium.com/openwhisk/five-minute-intro-to-open-source-serverless-development-with-openwhisk-328b0ebfa160
bare metal IaaS PaaS functions hardware abstraction OS abstraction runtime abstraction
Function-as-a-Service
Function-as-a-Service Backend-as-a-Service + https://martinfowler.com/articles/serverless.html
no server/container/process management http://blog.rowanudell.com/the-serverless-compute-manifesto/ costs scale with usage / never
pay for idle auto-scale / auto-provision
global availability • improved performance (lower response time =
more income) • increased fault tolerance • data locality
CHALLENGES
• How to route traffic to the closest region? •
Where to store data? • How to store data in multiple regions? • How to sync data between regions? • Consistency vs. availability • What happens if one region failed?
AWS re:Invent 2017: Building Resilient, Multi-Region Serverless Applications (SRV313)
DEMO APPLICATION
DISTRIBUTED KEY/VALUE STORE
λ λ DynamoDB Global Table demo.serverlessperf.com DNS CNAME record DNS
CNAME record
• Logic - AWS Lambda • HTTP endpoint - AWS
API Gateway + custom domains • Database - AWS DynamoDB + DynamoDB Global Tables • Global DNS - AWS Route53 Latency based routing
None
A CLI tool that manages the lifecycle of you serverless
application.
Features • application lifecycle management • manage code & infrastructure
• scaffolding & automation • multi-provider • AWS • Google Cloud • Azure • IBM BlueMix • Kubeless • local development • extensibility • community
None
None