How do engineers build systems that keep working when parts fail?

Netflix built a tool whose whole job is to switch off its own live computers, on purpose.

Guess first

?

the year Netflix invented Chaos Monkey to switch off its own production computers on purpose

Which one is it?

They assume parts will fail and build so that no single failure can stop the whole. High availability is a property of systems that aim to ensure an agreed level of performance, usually , for a higher than normal period. The core recipe has three parts: remove every by adding , so that one broken component does not mean a broken system; make the switch from the broken part to its spare reliable; and detect failures as they occur.

The three parts of staying up
  1. Step 1: Spare parts

    No

  2. Step 2: Reliable switching

    The crossover must work too

  3. Step 3: Detect failures

    As they occur

  4. Step 4: Practise breaking things

    Chaos Monkey, since 2011

The second part is the sneaky one. In redundant systems, the crossover point itself tends to become a . A spare tyre is useless if the jack is missing. And the third matters because, if the first two work, a user may never see a failure, but the maintenance team must.

Then there is a famous twist: practise failing. In 2011 Netflix invented Chaos Monkey, a tool that intentionally disables computers in its own network to test how the remaining systems respond. Netflix said that knowing failures would happen frequently created a strong alignment among engineers to build and automation to survive them.

The ambition is measured in 'nines' of availability. A rule of thumb says five nines allows about five minutes of downtime per year, and each nine fewer multiplies that by ten: four nines is 50 minutes and three nines is 500 minutes. The exact sums are close: a year has 8,760 hours, so 99.9% leaves about 8.8 hours, roughly 526 minutes, 99.99% about 53 minutes and 99.999% about 5.3 minutes. Every extra nine leaves ten times less room for failure, which is why engineers spend as much time on how things fail as on how they work.

Try it

Downtime per year at each extra nine

015030045060001234extra nines beyond 99.9% (1 = 99.99%, 2 = 99.999%)minutes of downtime a year (simple model)

y = 526 · 0.1ˣ

Challenge · Read off four and five nines (1 and 2 on the axis). Then drag the factor to 0.5: if each extra nine only halved the downtime, how much would five nines allow?

A simple model: 99.9% uptime leaves about 526 minutes of downtime a year, and each extra nine multiplies that by 0.1, giving about 53 and then about 5.3 minutes. The curve falls steeply because each step is tenfold.

Quiz me

0/3

  1. 1.Why can the 'switch' between a main part and its spare become a problem in a redundant system?
  2. 2.What did Netflix's Chaos Monkey do, and why?
  3. 3.Why can recovery from an outage start a new overload, as in Google's June 2025 incident?

Recap

A spare only counts if you can switch to it, notice the failure, and have tested it before the day you need it.

💡 A trick to remember it · Spare, switch, spot: have a second part, a switch that works, and an alarm that rings, and practise them all.

Surprising fact · Netflix built Chaos Monkey to switch off its own live servers on purpose.

Sources (5)

No source, no claim. Every fact in this lesson (17 claims) cites at least one of these.

  1. [1]High availability · Wikipedia
  2. [2]Chaos engineering · Wikipedia
  3. [3]Cascading failure · Wikipedia
  4. [4]Incident report: Multiple GCP products experiencing service issues (12 June 2025) · Google Cloud
  5. [5]Summary of the Amazon DynamoDB Service Disruption in the Northern Virginia (US-EAST-1) Region · Amazon Web Services
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗