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
45
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
310
Bingo Bango Mongo
mthenw
6
390
Are you Redis? Introduction to Redis.
mthenw
2
720
Other Decks in Technology
See All in Technology
クラウドネイティブ環境の脅威モデリング
kyohmizu
1
400
Dataverseの検索列について
miyakemito
1
180
AIと共同執筆してより質の高い記事を書こう
riyaamemiya
1
120
MCP でモノが動くとおもしろい/It is interesting when things move with MCP
bitkey
2
270
MCPが変えるAIとの協働
knishioka
1
140
DynamoDB のデータを QuickSight で可視化する際につまづいたこと/stumbling-blocks-when-visualising-dynamodb-with-quicksight
emiki
0
140
Why Platform Engineering? - マルチプロダクト・少人数 SRE の壁を越える挑戦 -
nulabinc
PRO
3
320
問 1:以下のコンパイラを証明せよ(予告編) #kernelvm / Kernel VM Study Kansai 11th
ytaka23
3
420
Azure & DevSecOps
kkamegawa
2
170
エンジニアリングで組織のアウトカムを最速で最大化する!
ham0215
1
300
3D生成AIのための画像生成
kosukeito
2
610
CodeRabbitと過ごした1ヶ月 ─ AIコードレビュー導入で実感したチーム開発の進化
mitohato14
1
240
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Bash Introduction
62gerente
612
210k
For a Future-Friendly Web
brad_frost
177
9.7k
Building an army of robots
kneath
305
45k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Music & Morning Musume
bryan
47
6.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
179
53k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
420
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
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