DEV Community

Cover image for 99.9% uptime: how much downtime is that per year?
System Design Simple
System Design Simple

Posted on Originally published at systemdesignsimple.com

99.9% uptime: how much downtime is that per year?

99.9% uptime sounds like "always up". The leftover 0.1% of a year is 8.76 hours, almost a full working day of downtime. Allowed downtime equals (1 minus availability) times the length of the window, and a year is 8,760 hours, so even a tenth of a percent of it is large.

Over a 30-day month, 99.9% allows 43.2 minutes down, and over a week, 10.1 minutes. Each extra nine divides the allowance by ten: 99% allows 87.6 hours a year, 99.99% 52.6 minutes, and 99.999% 5.26 minutes. At 99.99% the whole 30-day window allows 4.32 minutes, which leaves little room for a person to be paged and read the first alert.

Measured by time or by requests?

Time-based availability treats the service as up or down at each moment. Request-based availability counts outcomes: successful requests divided by all valid requests. A large service is almost never fully up or fully down, so most SLOs on big systems are request-based.

At 100 requests per second over 30 days, that is 259,200,000 requests, and a request-based 99.9% SLO allows 259,200 of them to fail. A full outage at peak traffic of 300 requests per second empties that budget in 14.4 minutes; at night, at 20 requests per second, it takes 216 minutes. A time-based SLO allows 43.2 minutes either way.

Chains of services lose nines

When one request needs A, then B, then C, it succeeds only if all three work. If their failures are independent, the availabilities multiply: 0.999 times 0.999 times 0.999 equals 0.997003, about 26.3 hours of downtime a year. Three services that each meet three nines give a chain that only meets about two and a half, and ten in a row give about 99.0%, or about 87 hours a year.

Redundancy works the other way: a request served by either of two independent replicas fails only when both are down at once, which on paper is 99.9999%. Real replicas share a power feed, a network, a configuration system and a deploy pipeline, so one bad configuration pushed to both takes both down together.

Where availability comes from

For a single component, availability equals MTBF divided by (MTBF plus MTTR). With 720 hours of mean operating time and 45 minutes of recovery, availability is 99.896%, just under three nines. There are only two levers: fail less often, or recover faster. Cutting recovery from 45 minutes to 4 minutes gives about 99.991%, four nines, with the same failure rate.

The leftover becomes an error budget: 1 minus the SLO, spent before the team must slow down changes. Burn rate is the observed error ratio divided by (1 minus SLO), where 1 means exactly on schedule. A common paging rule fires when the 1-hour burn rate is above 14.4 and the 5-minute burn rate is also above 14.4.

Our take

Nines are hours, not vibes. Write the budget down per path, count every hard dependency, and measure from the edge.

Read the full article for the downtime ladder, the probe simulation and the burn-rate rules: https://systemdesignsimple.com/three-nines-8-hours-down/

Top comments (0)