Break things on purpose, in a controlled way, to find weak spots before real failures do.
Chaos engineering means breaking things on purpose, in a small and controlled way, to learn how your system really behaves before a real failure teaches you the hard way.
Every design says "if the database fails, we switch to the replica". Chaos engineering asks: did anyone ever check? Failover scripts rot, timeouts are set wrong, and retries turn into storms. The only way to be sure is to cause the failure and watch.
Netflix made the idea famous with Chaos Monkey, a tool that randomly shut down servers in production, so engineers had to build services that survive it. Today the practice has a simple shape: an experiment with a hypothesis, a fault, a limited blast radius, and a way to stop.
| Fault | What it simulates | What it tests |
|---|---|---|
| Kill an instance or pod | A crash or a bad host | Health checks, restarts, load balancing, replicas |
| Add latency | A slow dependency or network | Timeouts, deadlines, queue limits |
| Drop or block network traffic | A partition or broken link | Retries, fallbacks, split-brain handling |
| Use up CPU, memory or disk | A noisy neighbour or a leak | Autoscaling, limits, alerts, back pressure |
| Make a dependency return errors | A failing downstream service | Circuit breakers, bulkheads, graceful degradation |
| Take down a zone or region | A data centre outage | Multi-region failover, capacity in the survivors |
| Skew the clock | Clock drift | Leases, tokens, caches that depend on time |
A simplified model with fixed rules and no random numbers. Real systems behave in more ways than this, which is exactly why you run the experiment on the real thing, in small steps.
| Term | Meaning in easy words |
|---|---|
| Chaos engineering | Experimenting on a system on purpose to build confidence it survives real failures |
| Steady state | The measurable signs that the system is healthy |
| Hypothesis | A guess that the steady state will hold during the fault |
| Blast radius | How much of the system or how many users a test can affect |
| Fault injection | Causing a failure artificially, such as killing a process or adding delay |
| Game day | A planned team exercise where failures are injected and the response is practised |
| Abort condition | A rule that stops the experiment when it does too much harm |
| Chaos Monkey | Netflixβs tool that randomly terminates instances |
| Graceful degradation | Serving a reduced but useful service when a part fails |
| Resilience | The ability to keep working, or recover quickly, when things fail |
| Retry storm | Retries that multiply load on a struggling service and make it worse |
| Choice | We gain | We lose |
|---|---|---|
| Test in production | Real traffic and real settings | Real risk to users |
| Test in staging | Safe | Different from production, so some weaknesses hide |
| Random faults | Surprises that planned tests miss | Harder to explain and control |
| Planned game days | Learning together, easy to control | Less surprise, less often |
| Large blast radius | Real confidence | Larger damage if wrong |