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
Engineering Large Systems When You're Not Googl...
Search
Charity Majors
April 30, 2018
Technology
5.7k
20
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Engineering Large Systems When You're Not Google Or Facebook (test in prod)
lightning talk at Clever, 4/30/18
Charity Majors
April 30, 2018
More Decks by Charity Majors
See All by Charity Majors
The situational ethics of stickers (with speaker notes)
charity
0
21
The situational ethics of stickers (lightning talk, no talk track)
charity
0
25
The Twin Mandate of Observability
charity
4
2.2k
In Praise of "Normal" Engineers (LDX3)
charity
4
2.8k
In Praise of "Normal" Engineers (with full speaker notes)
charity
1
280
AIOps: Prove It! (An Open Letter to Vendors Selling AI for SREs)
charity
1
78
SRECon 2024 Keynote: Is It Already Time To Version Observability? (Signs Point To Yes)
charity
3
540
CTO Craft Con Keynote: Observability is due for a version change: are you ready for it?
charity
4
1.5k
Case Studies: Modern Development Practices In Highly Regulated Environments
charity
6
4.4k
Other Decks in Technology
See All in Technology
Flutter研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
1
140
2026年のソフトウェア開発を考える(2026/07版) / Agentic Software Engineering 2026-07 Findy Edition
twada
PRO
29
16k
複数プロダクトで進めるAI機能実装 ── 実践から得たリアルな学びとロードマップ実現への挑戦 / AICon2026_yanari
rakus_dev
1
300
現場との対話から始める “作る前に問い直す”業務改善
mochico50
2
310
Power Automateアップデート情報
miyakemito
0
250
テックカンファレンス三大ステークホルダーの文化人類学 ─ 違いを認め合う関係性作り
bash0c7
2
680
セキュリティ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
5
7.1k
CTOキーノート:AI時代の「つなぐ」を再定義 ― 真のIoTとリアルワールドAI【SORACOM Discovery 2026】
soracom
PRO
0
130
AIコード生成×サプライチェーン攻撃 — PHPが直面する“二重の信頼問題
shinyasaita
0
490
CloudWatchから始めるAWS監視
butadora
0
180
AI工学特論: MLOps・継続的評価
asei
10
2.6k
AI時代におけるテストの基礎の再定義 / Rethinking the Fundamentals of Testing in the AI Era
mineo_matsuya
14
5.7k
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
57k
Writing Fast Ruby
sferik
630
63k
BBQ
matthewcrist
89
10k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
45k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
370
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
400
How to Ace a Technical Interview
jacobian
281
24k
The Curse of the Amulet
leimatthew05
2
13k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
260
Transcript
Engineering Large Systems When You’re Not Google Or Facebook Some
Advice By Charity Majors
None
I blame this guy: Testing in production has gotten a
bad rap.
None
how they think we are how we really are
but *why*?
monitoring => observability known unknowns => unknown unknowns LAMP stack
=> distributed systems
“Complexity is increasing” - Science
Many catastrophic states exist at any given time. Your system
is never entirely ‘up’
We are all distributed systems engineers now the unknowns outstrip
the knowns why does this matter more and more?
Distributed systems are particularly hostile to being cloned or imitated
(or monitored). (clients, concurrency, chaotic traffic patterns, edge cases …)
Distributed systems have an infinitely long list of almost-impossible failure
scenarios that make staging environments particularly worthless. this is a black hole for engineering time
unit tests integration tests functional tests basic failover test before
prod: … the basics. the simple stuff. known-unknowns
behavioral tests experiments load tests (!!) edge cases canaries rolling
deploys multi-region test in prod: unknown-unknowns
test in staging? meh
unit tests integration tests functional tests “What happens when …”
(you know the answer) “What happens when …” (you don’t) behavioral tests experiments load tests (!!) edge cases canaries rolling deploys multi-region test before prod: test in prod:
Only production is production. You can ONLY verify the deploy
for any env by deploying to that env
1. Every deploy is a *unique* exercise of your process+
code+system 2. Deploy scripts are production code. If you’re using fabric or capistrano, this means you have fab/cap in production.
Staging is not production.
Why do people sink so much time into staging, when
they can’t even tell if their own production environment is healthy or not?
That energy is better used elsewhere: Production. You can catch
80% of the bugs with 20% of the effort. And you should. @caitie’s PWL talk: https://youtu.be/-3tw2MYYT0Q
feature flags (launch darkly) high cardinality tooling (honeycomb) canary canary
canaries, shadow systems (goturbine, linkerd) capture/replay for databases (apiary, percona) also build or use: plz dont build your own ffs
Failure is not rare Practice shipping and fixing lots of
small problems And practice on your users!!
Failure: it’s “when”, not “if” (lots and lots and lots
of “when’s”)
Does everyone … know what normal looks like? know how
to deploy? know how to roll back? know how to canary? know how to debug in production? Practice!!~
None
None
None
• Charity Majors @mipsytipsy