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
330
2
Share
design for cloud - jax 2012
Mathias Meyer
April 18, 2012
More Decks by Mathias Meyer
See All by Mathias Meyer
Building and Scaling an Distributed and Inclusive Team
roidrage
0
1.4k
cooking infrastructure with chef
roidrage
4
250
The Message Queue is Dead, Long Live the Message Queue
roidrage
4
720
riak-js
roidrage
1
320
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
370
Other Decks in Programming
See All in Programming
The NotImplementedError Problem in Ruby
koic
1
340
Oxlintのカスタムルールの現況
syumai
5
980
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
2
270
今さら聞けないCancellationToken
htkym
0
220
エージェンティックRAGにAWSで入門しよう!
har1101
5
110
dRuby over BLE
makicamel
2
300
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
470
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.2k
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
150
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
610
Claspは野良GASの夢をみるか
takter00
0
160
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
Visualization
eitanlees
152
17k
Un-Boring Meetings
codingconduct
0
310
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Building Applications with DynamoDB
mza
96
7.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Between Models and Reality
mayunak
4
320
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Exploring anti-patterns in Rails
aemeredith
3
390
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!