chaos engineering
termKept in this browser · My desk
The discipline of experimenting on a distributed system in production to build confidence in its capability to withstand turbulent conditions, as Netflix's engineers defined it in 2016.
An experiment defines a steady state that users feel, such as Netflix's stream starts per second, hypothesizes that it holds in a control group and an experimental group, injects real-world faults into the experimental group and looks for a difference. The Principles of Chaos Engineering add running in production, automating experiments to run continuously and minimizing the blast radius. Netflix ran Chaos Monkey on weekdays in working hours and simulated the loss of an AWS region monthly with Chaos Kong; AWS and Microsoft now publish guidance and managed services for the practice.
Practice. Basiri and colleagues list the inputs Netflix used: terminated instances, injected latency, failed requests between services, failed internal services and a whole region made unavailable, simulated by redirecting traffic since Netflix could not take an AWS region offline. They justify production because a test environment never reproduces every aspect of the system. Safety. AWS asks for stop conditions on the metrics that represent steady state and turns successful experiments into automated regression tests; Microsoft treats the error budget as the investment available for fault injection, starts outside production and warns that fault injection in production can cause downtime. Limits. Google's SRE book publishes a test that blocked one database in a hundred and caused a wider outage, lengthened by a rollback that had not been tested, which is why rollback is tested before large experiments. Relation. Chaos Monkey is the tool that started it; game days and Google's DiRT are scheduled, human-centred versions.
Also known as: engenharia do caos, chaos experiment, steady-state hypothesis, chaos kong
Sources
- Ali Basiri and others (Netflix), Chaos Engineering, IEEE Software 33, 3, May-June 2016, author's copy on arXiv (read 2026-11-16): the discipline of experimenting on a distributed system to build confidence in its capability to withstand turbulent conditions in production; four principles; Chaos Monkey on weekdays in working hours, Chaos Kong monthly; stream starts per second as the steady state
- Principles of Chaos Engineering, last update March 2019 (read 2026-11-16): steady state, hypothesis over control and experimental groups, real-world variables, disproof; run in production, automate, minimize blast radius
- Amazon Web Services, AWS Well-Architected Framework, REL12-BP04, Test resilience using chaos engineering (read 2026-11-16): controlled faults to verify recovery; stop conditions on steady-state metrics; successful experiments become automated regression tests
- Microsoft Learn, Azure Well-Architected Framework, Architecture strategies for designing a reliability testing strategy, updated 29 May 2026 (read 2026-11-16): the error budget as the investment available for fault injection; start outside production; safeguards to stop and roll back