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
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Globally distributed applications with Serverless Framework
Serverless Poznań meetup
mthenw
April 04, 2018
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
97
The State of Serverless
mthenw
0
760
The State of Serverless (PCUG)
mthenw
0
250
Apex: The Holy Grail of AWS Lambda
mthenw
0
220
Microservices on AWS ECS
mthenw
8
850
Practical React in Marionette application
mthenw
2
630
Working with single-threaded event loop
mthenw
1
370
Bingo Bango Mongo
mthenw
6
440
Are you Redis? Introduction to Redis.
mthenw
2
760
Other Decks in Technology
See All in Technology
設計レビューとAIハーネスで向き合う AIが生み出した新しいボトルネックの対処法 / Design Reviews and AI Harnesses Against New Bottlenecks Created by AI
nstock
0
120
誤解だらけの開発生産性 / Myths and Misconceptions about Developer Productivity
i35_267
2
910
AI時代のPlaywright活用(システムテストを自動化する ー 実行エンジンにPla ywrightを選んだ理由)
ynisqa1988
1
810
ボーイスカウトルールでメモリやスキルを改善しよう
azukiazusa1
4
1.5k
変更し続けられるシステムをどう保つか — AI時代のSSoTという設計原則
kawauso
1
610
Multicaで30個のミニプロジェクトをAIエージェント運用して見えてきたこと
eiei114
0
540
インフラと開発の垣根を超えていき!〜元AWSインフラエンジニアがAWS開発で奮闘している話〜
hatahata021
3
320
アップデートで何が変わった?デモで学んで使いこなすIBM Bob2.0
muehara
0
200
Gen3R: 3D Scene Generation Meets Feed-Forward Reconstruction
spatial_ai_network
0
140
「守りたい体験」を渡すだけで E2E を生成させられるようになった話
hinac0
1
890
生成AIワークショップ / Custom-AI-Agents-workshop
databricksjapan
0
110
副作用のある Lambda でも Lambda Power Tuning は使えるのか / lambda-power-tuning-side-effects
koukihosaka
1
130
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Invisible Side of Design
smashingmag
301
52k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
460
Designing for Performance
lara
611
70k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
240
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
470
GitHub's CSS Performance
jonrohan
1033
470k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Odyssey Design
rkendrick25
PRO
2
730
The Curious Case for Waylosing
cassininazir
1
430
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
730
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
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