Every distributed system fails in ways its designers didn't predict. Chaos engineering accepts that and goes looking for those failures deliberately, in controlled experiments, before customers find them at 3 a.m. It is less about breaking things and more about learning how the system really behaves.
Done well, chaos engineering builds confidence: in failover, in autoscaling, in alerts and runbooks, and in the people who respond. Done badly, it is just an outage with extra steps. The difference is discipline: clear hypotheses, small blast radius, and the ability to stop immediately.
The scientific method, applied to resilience
Each experiment follows the same pattern. Define the steady state: the metrics that show the system is healthy, such as request success rate and latency. Form a hypothesis: "If one database replica fails, reads fail over within five seconds and the success rate stays above 99.9%." Then inject the failure and observe.
If the hypothesis holds, confidence grows. If it doesn't, you have found a weakness on your own terms, with the right people watching, instead of during an incident.
- Steady state
- Measurable indicators of normal behaviour that the experiment must not degrade beyond agreed limits.
- Blast radius
- How much of the system and how many users an experiment can affect. Start tiny.
- Abort condition
- A pre-agreed signal that stops the experiment and rolls back automatically.
What to experiment with
Begin with failures you already expect: an instance or pod terminating, a dependency slowing down, a zone becoming unavailable, a certificate expiring, a disk filling up. These test the basics such as retries, timeouts, health checks, autoscaling and alerting.
Later, test the human side. Game days simulate a realistic incident and let the team practise detection, communication and recovery. They often reveal stale runbooks, missing permissions and alerts that go to nobody.
Tools and environments
Tooling ranges from Chaos Monkey and LitmusChaos for Kubernetes to managed services such as AWS Fault Injection Service and Azure Chaos Studio, and commercial platforms like Gremlin. The tool matters less than the practice: start with scripted experiments if that is what you have.
Start in staging, but recognise that staging rarely behaves like production. Mature teams run carefully limited experiments in production, with strong observability, automatic abort conditions and the agreement of the service owner.
Building a chaos practice that lasts
Chaos engineering sticks when it becomes part of how teams work rather than an occasional event. Add one or two experiments to the definition of done for new critical services, keep a shared library of experiments, and review results in regular operations meetings.
Leadership support matters, because the first experiments often find uncomfortable weaknesses. Celebrate those findings as wins: each one is an incident that will not happen to customers. Over time, track which failure modes have been tested and which remain untested, and use that list to plan the next quarter of experiments.
How to put it into practice
- Make sure the basics are in place first: observability, alerting, and a tested rollback. Chaos without these is just risk.
- Pick one critical service and write down its steady state and its expected behaviour under one simple failure.
- Run the experiment in staging with the team watching, and record what happened.
- Fix what you find, then repeat the experiment to confirm the fix.
- Hold a quarterly game day on a realistic scenario, rotating who leads the response.
- Gradually move well-understood experiments into production with a small blast radius and automatic abort.
Common mistakes
- Running experiments without a hypothesis, so nobody knows whether the result is good or bad.
- Starting in production with a large blast radius to prove a point.
- Finding weaknesses and not fixing them, which turns chaos engineering into theatre.
- Only testing technology and never the people, runbooks and communication.
How to measure progress
- Number of hypotheses tested, and the share that held.
- Weaknesses found and fixed before they caused an incident.
- Time to detect and recover during game days, trending down.
- Incidents caused by failure modes that were already tested (should be near zero).