Availability maths: nines, serial and parallel
Turn availability targets into minutes of downtime, and compute what a design can really deliver.
15 min readWhat the nines mean
Availability is the fraction of time (or of requests) a system serves correctly. Each extra nine cuts allowed downtime by ten times, and usually costs far more than ten times as much to achieve. Translate targets into minutes before you promise them, because a single slow deploy or a 20-minute database failover can consume a whole quarter's budget at four nines.
- 99% allows about 3.65 days of downtime per year (7.3 hours per month)
- 99.9% allows about 8.8 hours per year (43.8 minutes per month)
- 99.99% allows about 52.6 minutes per year (4.4 minutes per month)
- 99.999% allows about 5.3 minutes per year: no human can respond that fast, so recovery must be automatic
Serial dependencies multiply down
If a request must pass through components A, B and C and each must work, the path availability is A x B x C. Five dependencies at 99.9% each give 0.999^5, about 99.5%, which is roughly 44 hours of downtime a year instead of 8.8. This is why deep synchronous call chains are dangerous: every hop you add lowers the ceiling for the whole request, and your service can never be more available than the product of what it calls synchronously.
Parallel redundancy multiplies up
If any one of n independent replicas is enough, the system fails only when all of them fail at once: availability = 1 - (1 - a)^n. Two instances at 99% give 1 - 0.01^2 = 99.99%; three give 99.9999%. The catch is the word independent. Two replicas on the same rack, the same power feed or the same buggy config fail together, and the real number collapses back towards a single instance. Spread replicas across zones and deploy them one at a time to keep failures uncorrelated.
Error budgets
An SLO such as 99.9% of requests succeed over 30 days implies an error budget of 0.1%, about 43 minutes of full outage or a longer stretch of partial errors. Teams spend the budget on risk: fast deploys, experiments, migrations. When it runs out, they slow down and invest in reliability. Measure availability from the user's side (successful requests divided by total) rather than from uptime pings, which miss partial failures. The Feedback panel reports the availability of your canvas design using the same serial and parallel rules.
Key takeaways
- Convert every availability target into minutes of downtime per month before committing to it
- Serial dependencies multiply availability down; independent redundancy multiplies it up
- Redundancy only helps when failures are uncorrelated: separate zones, racks and deploys
- Use an error budget to balance shipping speed against reliability
Sign in to track lessons and earn badges.