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
Scaling CANDDi
Search
coldclimate
July 29, 2013
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Scaling CANDDi
for
http://www.supermondays.org/
coldclimate
July 29, 2013
More Decks by coldclimate
See All by coldclimate
You don't scale like servers scale
coldclimate
0
150
Quick and dirty load testing with Vegeta
coldclimate
3
4.2k
Continuously deploying https served statically compiled sites to S3 with canonical domains
coldclimate
0
78
Scripting creating AWS based servers
coldclimate
0
340
refactoring
coldclimate
1
140
Other Decks in Technology
See All in Technology
40代で“やっとエンジニアになれた”――閉じた学びを開き、空の青さを知る / 20260628 Naoki Takahashi
shift_evolve
PRO
4
1.1k
AIに障害切り分けを全部やってもらった。 。 。 。
estie
0
260
テスト設計の本質を改めて考えてみる~生成AIを活用する時代だからこそ、作ったテストの説明性を高めよう~
yamasaki696
1
130
MySQL & MySQL HeatWave Report - June 2026
freshdaz
0
200
製造現場での生成AIの活用、およびエージェントAIの実装のあり方、AVEVAの取り組み
iotcomjpadmin
0
180
徹底討論!ECS vs EKS!
daitak
3
1.8k
AIは、人間らしい仕事の夢を見るか?─ AI時代のtoB/toEプロダクトを再設計する
techtekt
PRO
0
160
AI時代のコスト管理を考えよう〜明日から使える実践AWSノウハウ~
yoshimi0227
0
940
Microsoft のサポートとフィードバック総まとめ
murachiakira
PRO
0
120
現場のトークンマネジメント
dak2
1
200
フルAIで個人開発して学んだあれこれ / yuruai vol.1
isaoshimizu
0
150
2026 AI Memory Architecture
nagatsu
0
560
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
820
Context Engineering - Making Every Token Count
addyosmani
9
990
Making Projects Easy
brettharned
120
6.7k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
200
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Designing Powerful Visuals for Engaging Learning
tmiket
1
430
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
350
Faster Mobile Websites
deanohume
310
32k
Transcript
Scaling CANDDi oli wood @coldclimate
history
measure things that matter
back of a fag packet if good enough
have somewhere to test which is not live
use realistic data
ab/siege + ec2 instances
there are no silver bullets
aim for a silver shotgun cartridge
define the scenarios
build a pipeline view
identify symptoms but solve problems
symptoms are what you can see
problems are what you can solve
bad new: the problem is your code
good news: thus you can fix it
do less big things less often
do frequent things much faster
avoid waiting
pull less data
cache the painful things
cache: in memory
cache: redis/memcache
cache: url/browser cache
hunt collisions
use the tools
iostat
sar -P
strace -p
iftop
xdebug + webgrind
statsd
mongotop
mongosniff
tail -100000 mongodb. log | awk -F' ' '{print $NF}'
| grep ms$ | sed 's/ms//g' |sort -n | tail -20 | xargs -I {} grep {} ms$ mongodb.log
and the big gestures
nginx
nodejs
redis
aim: loosely coupled components which are horizontally scalable both on
box and by box
BULLSHIT
aim: fast enough for medium term business needs
aim: not to waste time in a geek circle jerk
result: 10x the throughput
result: 2000 non- trivial inbound events a second
good luck