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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
coldclimate
July 29, 2013
Technology
0
310
Scaling CANDDi
for
http://www.supermondays.org/
coldclimate
July 29, 2013
Tweet
Share
More Decks by coldclimate
See All by coldclimate
You don't scale like servers scale
coldclimate
0
140
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
75
Scripting creating AWS based servers
coldclimate
0
320
refactoring
coldclimate
1
130
Other Decks in Technology
See All in Technology
AIエンジニア Devin と歩む、自律型運用プロセスの構築
a2ito
0
460
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
20260222ねこIoTLT ねこIoTLTをふりかえる
poropinai1966
0
310
もう怖くないバックグラウンド処理 Background Tasks のすべて - Hakodate.swift #1
kantacky
0
240
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
240
論文検索を日本語でできるアプリを作ってみた
sailen2
0
150
opsmethod第1回_アラート調査の自動化にむけて
yamatook
0
330
APMの世界から見るOpenTelemetryのTraceの世界 / OpenTelemetry in the Java
soudai
PRO
0
210
NW構成図の自動描画は何が難しいのか?/netdevnight3
corestate55
2
520
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
95k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
「データとの対話」の現在地と未来
kobakou
0
1.1k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
450
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
240
Side Projects
sachag
455
43k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
200
Amusing Abliteration
ianozsvald
0
120
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
95
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
860
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
77
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
460
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