Learn by breaking things

Each incident is modelled as a failure pattern, not a replay of the exact event. Open the app to run it and compare with the protected version.

Real incidents

AWS · Oct 2025: A DNS record for a core database endpoint went empty
Clients cannot resolve a dependency. Connections that were already open kept working.
Lesson: Long-lived, kept-alive connections and local DNS caching ride out a resolution failure that new connections cannot. Provider report
Run the failure pattern
Cloudflare · Nov 2025: A generated config file doubled in size and crashed the proxies
A bad artifact reaches every node at once, with no staged rollout to catch it.
Lesson: Roll generated configuration out in stages, with automatic rollback, and treat it like code. Provider report
Run the failure pattern
Google Cloud · Jun 2025: A policy change crashed the service that authorises every API call
A policy or admission layer in front of everything fails closed, so nothing can proceed.
Lesson: Decide deliberately whether a control fails open or closed, guard new code paths with flags, and avoid replicating one input to every region at once. Provider report
Run the failure pattern
Ericsson and O2 · Dec 2018: An expired certificate took down mobile data for a day
A certificate nobody was tracking reaches its expiry date.
Lesson: Automate renewal, keep an inventory of every certificate, and alert well before expiry. Provider report
Run the failure pattern
Facebook · Oct 2021: The routes to the name servers were withdrawn
The only authoritative DNS you have stops answering.
Lesson: Keep a second, independent path to resolution and to your own tools, and rehearse working without them. Provider report
Run the failure pattern
CrowdStrike · Jul 2024: A content update went to every host at once
A change reaches a very large share of the fleet before anyone can stop it.
Lesson: Release in rings, watch health between them, and make the stop button automatic. Provider report
Run the failure pattern
GitHub · Oct 2018: A short network partition triggered a messy database failover
The primary database is lost and requests fail until a standby takes over.
Lesson: A failover is itself a risky change: rehearse it, and keep a read-only mode so the product stays useful meanwhile. Provider report
Run the failure pattern
Slack · Jan 2021: Traffic came back faster than capacity could follow
Demand outruns capacity that only scales after the fact.
Lesson: Pre-scale for predictable peaks, and keep headroom for the minutes scaling takes. Provider report
Run the failure pattern
AWS · Feb 2017: One command removed more capacity than intended
A command with too wide a blast radius takes out most of a service.
Lesson: Put a floor under capacity so tools refuse to remove too much, and limit how fast anything can be removed. Provider report
Run the failure pattern
Knight Capital · Aug 2012: One server out of eight still ran the old code
One member of a fleet drifts away from what is declared.
Lesson: Make the declared state the only state: detect drift and reconcile it, and verify every node after a release. Provider report
Run the failure pattern
Fastly · Jun 2021: A valid customer setting triggered a dormant bug
A configuration change takes serving instances down.
Lesson: Dormant bugs wait for the right input. Canary configuration changes too, and make rollback quick. Provider report
Run the failure pattern
Roblox · Oct 2021: A core coordination service degraded and everything waited on it
A control-plane dependency slows down and everything that talks to it slows with it.
Lesson: Know which dependencies sit under everything, load-test them, and make clients tolerate them being slow. Provider report
Run the failure pattern

Resilience patterns

Timeouts and circuit breaker
A slow dependency is worse than a dead one: callers wait, threads pile up, and the slowness spreads. A short timeout fails fast, and a breaker stops calling something that is struggling.
Retries with backoff
Transient failures are common and often succeed on a second try. Retries need a budget, backoff and jitter, and a timeout, or they multiply load on something that is already failing.
Fallback and stale-while-error
When a dependency fails, an old or smaller answer is usually better than an error. Decide ahead of time what the degraded version is, and make it visible in a metric.
Queue, buffer and shed load
A burst should not become an outage. Accept the work, answer fast, process it asynchronously, scale consumers on lag, and refuse politely when the buffer is full.
Bulkheads: spread across zones
Separate failure domains so one cannot take the whole service. Spreading replicas across zones means losing one zone loses a share of capacity, not all of it.
Health checks that fail open
A health check that probes a dependency can empty the pool when that dependency blips. Check the process, not its neighbours, and let the balancer route to everything when almost nothing looks healthy.

Open the interactive version · How the score works