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
design for cloud - jax 2012
Search
Mathias Meyer
April 18, 2012
Programming
2
300
design for cloud - jax 2012
Mathias Meyer
April 18, 2012
Tweet
Share
More Decks by Mathias Meyer
See All by Mathias Meyer
Building and Scaling an Distributed and Inclusive Team
roidrage
0
1.3k
cooking infrastructure with chef
roidrage
4
230
The Message Queue is Dead, Long Live the Message Queue
roidrage
4
700
riak-js
roidrage
1
280
designing for concurrency with riak
roidrage
11
1.8k
metrics, monitoring, logging
roidrage
82
15k
A Riak Query Tale
roidrage
5
1k
Don't Use NoSQL
roidrage
10
1.1k
Designing Applications for Amazon Web Services (GOTO Aarhus)
roidrage
6
360
Other Decks in Programming
See All in Programming
「次に何を学べばいいか分からない」あなたへ──若手エンジニアのための学習地図
panda_program
3
630
Caude codeで爆速開発
codelynx
0
100
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
680
Android 16KBページサイズ対応をはじめからていねいに
mine2424
0
640
CDK引数設計道場100本ノック
badmintoncryer
2
550
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
480
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
180
CIを整備してメンテナンスを生成AIに任せる
hazumirr
0
180
Workers を定期実行する方法は一つじゃない
rokuosan
0
130
Claude Code + Container Use と Cursor で作る ローカル並列開発環境のススメ / ccc local dev
kaelaela
12
7.4k
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
290
Jakarta EE Meets AI
ivargrimstad
0
250
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Producing Creativity
orderedlist
PRO
346
40k
Site-Speed That Sticks
csswizardry
10
710
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Done Done
chrislema
184
16k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Transcript
design for cloud mathias meyer, jax 2012
None
Me — infrastructure — code — databases @roidrage www.paperplanes.de
None
the cloud
None
None
None
10,000 feet
amazon web services
ec2
on-demand computing
api
pay as you go
multiple regions
multiple datacenters
high cpu vs. high memory
elastic block store
more aws products s3 cloudfront cloudformation cloudwatch rds auto scaling
simpledb route 53 load balancing queue service notification service elastic mapreduce
what’s scalarium?
automates: setup configuration one-click deploy
...for ec2 ...on ec2
the dream: configure a cluster push a button boom!
None
None
configuration + cookbooks/manifests + chef/puppet = configured cluster
configuration: chef server rightscale json scalarium
None
in the beginning...
Scalarium
None
None
None
ec2 is not a traditional datacenter
None
None
multi-tenant
high chance of failure
faulty instances
datacenter outage
network partition
more instances = higher chance of failure
mtbf
21/04/2011
None
7/8/2011
None
don’t fear failure
plan for failure
test failure
None
plan for recovery
mttr
None
disaster recovery plan
multi-datacenter deployments
replication
None
multi-region deployments
$$$
relax consistency requirements
latency
keep data local
None
keep data in memory
cache is king
use raids for ebs
use local storage
use bigger instances
scalarium is ~monolithic
cloud ≠ monolithic
cloud ☠ centralized
small, independent services
self-contained
independently deployable
well defined apis
http/json thrift protocol buffers
sinatra dropwizard spark scalatra
fail fast
retry
internal queues
design for resilience
“think about your software running.” theo schlossnagle, omniti
understand your code’s breaking points
isn’t all that what you do at large scale?
cloud == large scale
scalarium today
scalarium runs on scalarium
None
None
None
lack of visibility
don’t fall for service level agreements
amazon only handles infrastructure
how you build on it is up to you
fun fact
amazon.com is served off ec2
thank you!