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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
79
Scripting creating AWS based servers
coldclimate
0
340
refactoring
coldclimate
1
140
Other Decks in Technology
See All in Technology
_NIKKEI_Tech_Talk__勉強会は熱量では続かない___17回続いた輪読会の設計術.pdf
_awache
1
100
kaonavi Tech Night#1
kaonavi
0
160
書籍セキュアAPIについて
riiimparm
0
210
reFACToring
moznion
0
180
GoでCコンパイラを作った話
repunit
0
150
AI時代のPlaywright活用(システムテストを自動化する ー 実行エンジンにPla ywrightを選んだ理由)
ynisqa1988
2
930
ダッシュボード"開発"について 〜使われるダッシュボードのつくりかた〜
kimichan
0
190
【公開用】AI_Dev_Ex2026_AI_登壇資料
matsuritechnologies
PRO
1
470
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
420
生成AI×AWS CDK×AWS FISで"振り返れる"ミニGameDayをつくろう
yoshimi0227
2
530
生成 AI 時代にいま一度「問い合わせ」について考えてみる
kazzpapa3
1
130
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
890
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
400
Bash Introduction
62gerente
615
220k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Google's AI Overviews - The New Search
badams
0
1.1k
Discover your Explorer Soul
emna__ayadi
2
1.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
New Earth Scene 8
popppiees
3
2.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.4k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
500
Leo the Paperboy
mayatellez
8
1.9k
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