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
0
270
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.1k
Continuously deploying https served statically compiled sites to S3 with canonical domains
coldclimate
0
72
Scripting creating AWS based servers
coldclimate
0
290
refactoring
coldclimate
1
130
Other Decks in Technology
See All in Technology
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
200
Node-REDのFunctionノードでMCPサーバーの実装を試してみた / Node-RED × MCP 勉強会 vol.1
you
PRO
0
110
Model Mondays S2E02: Model Context Protocol
nitya
0
220
実践! AIエージェント導入記
1mono2prod
0
160
5min GuardDuty Extended Threat Detection EKS
takakuni
0
130
How Community Opened Global Doors
hiroramos4
PRO
1
110
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
3
920
CSS、JSをHTMLテンプレートにまとめるフロントエンド戦略
d120145
0
290
mrubyと micro-ROSが繋ぐロボットの世界
kishima
2
190
AIの最新技術&テーマをつまんで紹介&フリートークするシリーズ #1 量子機械学習の入門
tkhresk
0
130
Observability в PHP без боли. Олег Мифле, тимлид Altenar
lamodatech
0
340
Prox Industries株式会社 会社紹介資料
proxindustries
0
270
Featured
See All Featured
Embracing the Ebb and Flow
colly
86
4.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Visualization
eitanlees
146
16k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How STYLIGHT went responsive
nonsquared
100
5.6k
Code Reviewing Like a Champion
maltzj
524
40k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
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