Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
330
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.3k
Continuously deploying https served statically compiled sites to S3 with canonical domains
coldclimate
0
81
Scripting creating AWS based servers
coldclimate
0
360
refactoring
coldclimate
1
140
Other Decks in Technology
See All in Technology
Ebitengine製iOSアプリ公開ボタンを押す会
eiei114
0
120
HQ駆動開発で最高のAI-Contextを作ろう
sansantech
PRO
1
120
会社説明資料_最新版
demaecan
0
32k
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
370
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
180
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
630
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
4
190
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
140
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
130
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
280
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
2
810
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
120
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
910
Designing for Timeless Needs
cassininazir
1
560
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
How to make the Groovebox
asonas
2
2.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
480
Music & Morning Musume
bryan
48
7.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
Large-scale JavaScript Application Architecture
addyosmani
516
110k
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