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
130
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
43
The State of Serverless
mthenw
0
680
The State of Serverless (PCUG)
mthenw
0
170
Apex: The Holy Grail of AWS Lambda
mthenw
0
170
Microservices on AWS ECS
mthenw
8
790
Practical React in Marionette application
mthenw
2
600
Working with single-threaded event loop
mthenw
1
300
Bingo Bango Mongo
mthenw
6
390
Are you Redis? Introduction to Redis.
mthenw
2
710
Other Decks in Technology
See All in Technology
自分の軸足を見つけろ
tsuemura
2
400
試験は暗記より理解 〜効果的な試験勉強とその後への活かし方〜
fukazawashun
0
280
Re:VIEWで書いた「Compose で Android の edge-to-edge に対応する」をRoo Codeで発表資料にしてもらった
tomoya0x00
0
260
似たような課題が何度も蘇ってくるゾンビふりかえりを撲滅するため、ふりかえりのテーマをフォーカスしてもらった話 / focusing on the theme
naitosatoshi
0
310
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming
tomzoh
0
140
MCP Documentation Server @AI Coding Meetup #1
yyoshiki41
2
2.5k
TopAppBar Composableをカスタムする
hunachi
0
170
食べログが挑む!飲食店ネット予約システムで自動テスト無双して手動テストゼロを実現する戦略
hagevvashi
1
130
古き良き Laravel のシステムは関数型スタイルでリファクタできるのか
leveragestech
1
600
OCI Database with PostgreSQLのご紹介
rkajiyama
0
140
近年の PyCon 情勢から見た PyCon APAC のまとめ
terapyon
0
280
大規模サービスにおける カスケード障害
takumiogawa
3
780
Featured
See All Featured
The Language of Interfaces
destraynor
157
24k
How to Ace a Technical Interview
jacobian
276
23k
Designing for humans not robots
tammielis
252
25k
Why Our Code Smells
bkeepers
PRO
336
57k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Rails Girls Zürich Keynote
gr2m
94
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Git: the NoSQL Database
bkeepers
PRO
430
65k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
12
1.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
103
19k
A designer walks into a library…
pauljervisheath
205
24k
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