Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Globally distributed applications with Serverless Framework
mthenw
April 04, 2018
Technology
1
77
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
25
The State of Serverless
mthenw
0
510
The State of Serverless (PCUG)
mthenw
0
110
Apex: The Holy Grail of AWS Lambda
mthenw
0
95
Microservices on AWS ECS
mthenw
8
720
Practical React in Marionette application
mthenw
2
560
Working with single-threaded event loop
mthenw
1
150
Bingo Bango Mongo
mthenw
6
330
Are you Redis? Introduction to Redis.
mthenw
2
660
Other Decks in Technology
See All in Technology
Motto Go Forward スライドトップと Goを支える文化とコミュニティ してご利用ください 〜なぜ我々はコミュニティにコントリ ビュートするのか〜
luccafort
0
190
GitHub 엔터프라이즈 어카운트 소개 및 엔터프라이즈 서버 구축 경험
posquit0
1
140
暗号資産ウォレット入門(MetaMaskの入門~NFTの購入~詐欺の注意事項など)
kayato
2
170
失敗しない条件付きアクセス Season 3
sophiakunii
0
1.3k
Power BI Report Ops
hanaseleb
0
160
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
0
580
僕の Microsoft Teams (+α) 便利技紹介 2022年春
taichinakamura
0
2.7k
Babylon.js v5 新機能の紹介
limes2018
1
1k
Embedded SRE at Mercari
tcnksm
0
810
Stripe Search APIを利用した、LINEとStripeの顧客情報連携/line-dc-202205
stripehideokamoto
0
120
プロダクション環境の信頼性を損ねず観測する技術
egmc
4
330
SRE_チーム立ち上げから1年_気づいたら_SRE_っぽくない仕事まで貢献しちゃってる説
bitkey
PRO
0
2k
Featured
See All Featured
Designing for humans not robots
tammielis
241
23k
The Art of Programming - Codeland 2020
erikaheidi
31
5.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
655
120k
Three Pipe Problems
jasonvnalue
89
8.6k
Statistics for Hackers
jakevdp
781
210k
Design by the Numbers
sachag
271
17k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
7
1k
4 Signs Your Business is Dying
shpigford
169
20k
Visualization
eitanlees
124
11k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
350
21k
In The Pink: A Labor of Love
frogandcode
130
21k
Debugging Ruby Performance
tmm1
65
10k
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