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
120
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
38
The State of Serverless
mthenw
0
670
The State of Serverless (PCUG)
mthenw
0
160
Apex: The Holy Grail of AWS Lambda
mthenw
0
160
Microservices on AWS ECS
mthenw
8
790
Practical React in Marionette application
mthenw
2
590
Working with single-threaded event loop
mthenw
1
290
Bingo Bango Mongo
mthenw
6
390
Are you Redis? Introduction to Redis.
mthenw
2
710
Other Decks in Technology
See All in Technology
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
750
Data-centric AI入門第6章:Data-centric AIの実践例
x_ttyszk
1
410
RSNA2024振り返り
nanachi
0
590
レビューを増やしつつ 高評価維持するテクニック
tsuzuki817
1
740
ソフトウェアエンジニアと仕事するときに知っておいたほうが良いこと / Key points for working with software engineers
pinkumohikan
0
110
CZII - CryoET Object Identification 参加振り返り・解法共有
tattaka
0
380
速くて安いWebサイトを作る
nishiharatsubasa
12
14k
個人開発から公式機能へ: PlaywrightとRailsをつなげた3年の軌跡
yusukeiwaki
11
3k
エンジニアが加速させるプロダクトディスカバリー 〜最速で価値ある機能を見つける方法〜 / product discovery accelerated by engineers
rince
4
390
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
2
1.5k
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
200
分解して理解する Aspire
nenonaninu
1
330
Featured
See All Featured
Visualization
eitanlees
146
15k
Practical Orchestrator
shlominoach
186
10k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
How GitHub (no longer) Works
holman
314
140k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
9
450
KATA
mclloyd
29
14k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
The Language of Interfaces
destraynor
156
24k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Designing for Performance
lara
604
68k
Typedesign – Prime Four
hannesfritz
40
2.5k
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