Chaos engineering basics
Chaos engineering adds a small, planned fault on purpose to learn if a system copes. It starts from a measure of normal, keeps the harm small and has a stop button.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a fire drill. A school holds a fire drill once every term. The alarm rings on purpose, at a time the staff chose, in a safe way. The school learns if the exits are clear and if everyone knows the way out. A drill finds a blocked door before a real fire does.
Daily List is a to-do list app. It depends on a reminder service. Mei, the test lead, asks a plain question: what happens to the app if that service is slow? Nobody knows. Instead of waiting for a bad day, she plans a small drill.
The team slows the reminder service on purpose, for a few minutes, for a few staff accounts. They watch whether tasks still load. This planned drill is a .
The picture has a limit. A fire drill only tests people. A chaos experiment tests the software, and the fault added must be small and stoppable.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Adding a small planned fault on purpose to find weak spots before a real failure does.
- Know normal
- Add a small fault
- Watch the effect
- Stop or learn
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The fire drill | A chaos experiment |
| The usual calm in the school | Steady state |
| One classroom, not the school | A small blast radius |
| The person who can stop the drill | The stop button |
WHERE THIS PICTURE STOPS
- A fire drill tests people. A chaos experiment tests software.
- A drill is the same every time. A fault must be chosen to be realistic.
- A school has an alarm. A system needs good monitoring to show the effect.
HOOK
Plan it, keep it small, be able to stop.
REMEMBER IT THIS WAY
A story beat: one picture-line that carries the order or the cause.
Mei asks what happens if the reminder service is slow, and nobody knows. So she slows it on purpose, for a few staff accounts, and watches whether tasks load.
| In the trick | What it stands for |
|---|---|
| Slow service | The planned small fault |
| Few staff accounts | A small blast radius |
| Tasks still load | The steady state she watches |
It misleads if the fault is large or cannot be stopped, since then it is no longer a safe drill.
TELL A FRIEND
A fire drill for software: a planned, small fault to find weak spots before a real failure does.
OFTEN MIXED UP WITH Testing in production, safely. The production lesson shows safe checks on the live app. This lesson adds planned faults, which need more care and stronger safety.
PRACTISE AND KEEP
Sources for this topic — 5 sources
- Market practice
Principles of Chaos Engineering ↗ — Chaos community · Principles: build a hypothesis around steady state behaviour; vary real-world events; run experiments in production; automate experiments; minimise blast radius (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Chaos Engineering (Basiri et al., IEEE Software, 2016; arXiv copy) ↗ — Netflix authors · Netflix engineers call the practice chaos engineering: experimenting on a system to build confidence in its ability to withstand turbulent conditions (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Institute of Electrical and Electronics Engineers (IEEE) Software 33(3), 2016. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Canarying Releases (Google SRE Workbook) ↗ — Google · Real traffic reveals defects that more artificial test frameworks do not show (search excerpt, page not opened)
One firm's engineering guidance. Seen as WebSearch excerpts on the access date; the page was not opened.
- Market practice
Site Reliability Engineering: How Google Runs Production Systems — "Postmortem Culture: Learning from Failure" ↗ — Google (Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, eds.) · Postmortem culture: write up what happened, the causes and the actions, and keep the review blameless (search excerpt, page not opened)
Freely published by Google at sre.google. The chapter was not opened; the points come from search excerpts, and the owned action items point from a USENIX (the Advanced Computing Systems Association) ;login: article by Google authors (Lunney, Lueder, Beyer) that surfaced in the same search.
- Market practice
REL12-BP05 Conduct game days regularly ↗ — Amazon Web Services (Well-Architected Framework) · r10h-aws-wa-rel12-bp05-game-days. Search excerpt, page not opened.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.