dev-tools
Glossary ↗Chaos Engineering
Chaos engineering is the practice of deliberately injecting failures into a system — killing servers, adding network latency, cutting off a dependency — to discover how it actually behaves under stress before a real outage does it for you. The idea, popularized by Netflix's "Chaos Monkey," is that distributed systems fail in ways you can't fully predict, so the only way to build real confidence is to run controlled experiments in production-like conditions and verify the system degrades gracefully instead of collapsing. A proper chaos experiment starts with a hypothesis ("if this database replica dies, requests fail over within two seconds"), injects the failure on a limited blast radius, and measures the result. For AI/SaaS builders it surfaces the hidden assumptions — a missing timeout, a retry storm, a single point of failure — that only appear when something breaks. Practical note: don't start in production. Begin in staging with a small blast radius and solid observability so you can measure impact and abort, then graduate to controlled production experiments once you trust your safeguards.
Related terms