LOAD-BEARINGfree
FoundationsTier 0 · unit 4 of 5 · 10 min read

What 99.9% really costs

"Our service is 99.9% available!" sounds impressive until you do the arithmetic. Availability is quoted in nines, and each nine is really a downtime budget — the total amount of time per year your system is allowed to be broken.

Downtime allowance
99% — two nines3.65 days/yr
99.9% — three nines8.77 hours/yr
99.99% — four nines52.6 min/yr
99.999% — five nines5.26 min/yr

Read that middle row again. Four nines means that from the moment anything breaks — anything, all year — you have a combined total of under an hour to notice it, figure out what's wrong, and fix it. That is not an engineering target you hit with clever code. It is a staffing plan: on-call rotations so someone is always awake, runbooks so the person paged at 3am doesn't have to think from scratch, automated failover so machines fix themselves faster than humans can, and a culture that doesn't deploy risky changes on Friday evening. Every extra nine roughly 10×'s the cost and effort. Choose nines like you choose insurance: enough, not maximum.

Dependencies multiply (and that's bad)

Here's the brutal math of chaining services together. Suppose handling one request requires calling three internal services in a row, and each is 99.9% available. Your best possible availability is:

0.999 × 0.999 × 0.999 = 0.997 → 99.7%

Each service kept its promise, and you still ended up worse than any of them, because you need all three to work at once. It's like a road trip needing three bridges: each bridge being open 99.9% of the time doesn't mean your trip works 99.9% of the time.

Two design lessons fall out: keep the critical path short (every extra dependency on the must-work path lowers your ceiling), and make non-essential dependencies optional. If the recommendations service is down, show a generic list — don't fail the whole page because a nice-to-have hiccupped. This idea has a name you'll see again in Tier 9: graceful degradation.

Redundancy adds (and that's good) — with a catch

Now the happy direction. Run two independent copies of something that's 99% available each, where either one can serve. You only fail when both fail at once:

1 − (0.01 × 0.01) = 0.9999 → 99.99%

Two mediocre copies just beat one excellent original. This is the entire logic behind replicas, multiple servers, and multiple datacenters.

The catch: that math only holds if the failures are genuinely independent. In real life they often aren't: both copies sit in the same rack (one power cut kills both), run the same code (one bad deploy breaks both), use the same certificate (one expiry takes down both). This is called correlated failure, and it is exactly why serious systems spread copies across different machines, different datacenters, and eventually different regions of the world.

The trap

Promising nines you don't measure. If you have no instrumented metric tracking real success rate, your "99.9%" is a wish, not a number. And measure from the client's side — your load balancer's health check saying "all good" is perfectly compatible with every actual user seeing errors, because the health check and the users take different paths.

The nuance

“Two copies at 99% give you 99.99%.”

Only if the failures are statistically independent, and the lesson says so — but it is worth stating how rarely that holds. Same rack, same deploy, same certificate, same config push, same dependency. In practice the second copy usually buys a fraction of the arithmetic, and the honest version of the calculation asks what fraction.

When this actually happened

More details about the October 4 outageMeta Engineering · October 2021

A command intended to assess backbone capacity took the whole backbone down. Facebook’s DNS servers were on a separate network — genuine redundancy on paper — but were designed to withdraw their BGP routes if they could not reach the datacentres, so they removed themselves from the internet while still perfectly healthy. Correlated failure exactly as this lesson describes it, plus the sharpest possible illustration of the second problem: the tools needed to diagnose and fix it were behind the thing that was down.