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 For Planned Events
Search
Brian Akins
September 25, 2014
Programming
3
130
Scaling For Planned Events
Theory, Practice, and Aftermath
Brian Akins
September 25, 2014
Tweet
Share
More Decks by Brian Akins
See All by Brian Akins
CoreOS Overview
bakins
2
170
Large Scale Data Service as a Service
bakins
1
400
Growing Pains with Chef
bakins
0
73
Other Decks in Programming
See All in Programming
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
最新TCAキャッチアップ
0si43
0
140
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
Amazon Qを使ってIaCを触ろう!
maruto
0
410
Macとオーディオ再生 2024/11/02
yusukeito
0
370
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
290
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
Quine, Polyglot, 良いコード
qnighy
4
640
Jakarta EE meets AI
ivargrimstad
0
560
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
We Have a Design System, Now What?
morganepeng
50
7.2k
Producing Creativity
orderedlist
PRO
341
39k
Ruby is Unlike a Banana
tanoku
97
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Rails Girls Zürich Keynote
gr2m
94
13k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Typedesign – Prime Four
hannesfritz
40
2.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Transcript
Scaling For Planned Events Theory, Practice, and Aftermath
About @bakins • OmniTI - Senior Principal Architect • Horrible
public speaker • Old school C guy • Operations and Development • Wife and four kids in Atlanta, Georgia
What is a “Planned Event” • Event on existing site
• Single or repeating • Immovable dates • Elections, sporting events, etc.
Ideally • Event handled via normal site operations • Business
goals clearly defined • Clearly defined schedule • Realistic traffic/capacity models
Reality • Competing business goals • Heroic scaling efforts often
needed • Last minute feature additions • Real money tied to sponsorships • Can’t be tested in production until the event
Cache Everything? • If possible… • Introduce caching layer in
proxy mode early • Is your site really “dynamic”? • Need buy-in from all parties: dev, biz, ops, etc
Feature Creep • Company X will give us $Y is
we do feature Z • Deals are usually signed late • Competing priorities • Testing schedule compressed - or eliminated
Degradation Planning • Decide before the event - you only
get one chance • What features are most “important”? • Most impactful • Playbook: if/when X, then Y • Feature flags • “Benevolent dictator”
Dependencies • Know your dependencies • Direct • Indirect •
Third party • Find the bottlenecks • Include these services in your planning
Event Operations • Physical and virtual “war rooms” • Business
liaison • Do a post-mortem, good or bad • Archive metrics
Examples/Experiences • Names have been changed to protect the innocent
and the guilty…
Easy One • Sports site using PHP-platform • Once a
year event • Poor cache-invalidation methods • increase TTL before event, etc
“Waiting Room” • “Legacy” video delivery services • Capacity reservations
• Do not return an error to user • “Distract” the user
“No one uses mobile…” • Presidential election • Growth of
mobile web usage • Third party failure
Unexpected ending • Last episode of popular TV show •
Fragile stack • “Controversial” ending to show • Two orders of magnitude more traffic on site than expected
None