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.9k
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
高単価案件で働くための心構え
nullnull
0
150
flutter_kaigi_2025.pdf
kyoheig3
1
350
Honoを技術選定したAI要件定義プラットフォームAcsimでの意思決定
codenote
0
250
ゼロダウンタイムでミドルウェアの バージョンアップを実現した手法と課題
wind111
0
210
OSS開発者の憂鬱
yusukebe
12
5.3k
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
TypeScript 5.9で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
220
モデル駆動設計をやってみよう Modeling Forum2025ワークショップ/Let’s Try Model-Driven Design
haru860
0
170
AIを駆使して新しい技術を効率的に理解する方法
nogu66
1
650
AI 時代だからこそ抑えたい「価値のある」PHP ユニットテストを書く技術 #phpconfuk / phpcon-fukuoka-2025
shogogg
1
570
JEP 496 と JEP 497 から学ぶ耐量子計算機暗号入門 / Learning Post-Quantum Crypto Basics from JEP 496 & 497
mackey0225
2
440
Chart.jsで長い項目を表示するときのハマりどころ
yumechi
0
140
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
4 Signs Your Business is Dying
shpigford
186
22k
Git: the NoSQL Database
bkeepers
PRO
432
66k
What's in a price? How to price your products and services
michaelherold
246
12k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Designing Experiences People Love
moore
142
24k
Docker and Python
trallard
46
3.7k
Building Applications with DynamoDB
mza
96
6.8k
A Tale of Four Properties
chriscoyier
162
23k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
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!