Part 7 of 9 · 2 min read
Availability and the nines
How an uptime percentage becomes minutes of downtime, and what each extra nine costs.
Think of a shop that opens every day. If it is closed one day in a hundred, customers notice. If it is closed one day in a thousand, hardly anyone notices.
Availability
Availability is the share of time that a system works as promised, written as a percentage. Engineers say "two nines" for 99 percent, "three nines" for 99.9 percent, and so on.
Example: 99.9 percent availability, or "three nines", allows 0.1 percent downtime.
A year has 365 × 24 = 8,760 hours. Downtime allowed per year:
| Availability | Downtime in a year | Downtime in a day |
|---|---|---|
| 99 percent | 87.6 hours, about 3.65 days | 14.4 minutes |
| 99.9 percent | 8.76 hours | 86.4 seconds |
| 99.99 percent | 52.6 minutes | 8.64 seconds |
| 99.999 percent | 5.26 minutes | 0.86 seconds |
Each added nine cuts the allowed downtime to a tenth. It also costs much more. Going from 99 to 99.9 percent may need a second server and a plan for failure. Going to 99.999 percent may need several data centres, automatic recovery and a team on call.
Service level agreement
A service level agreement, or SLA, is a written promise to customers about how well a service will work, such as an uptime percentage. Missing it may mean refunds. Level 9 explains how teams measure and set such targets.
Example: "The provider promises 99.9 percent monthly uptime. Below that, customers receive a credit."
Interview angle
Answer in your head first, then open it.
How do you decide how many nines of availability a system needs?
Say what availability the system needs before adding extra copies of parts. A notice board for a school can accept 99 percent. A payment system cannot. Matching the nines to the need is a sign of judgement.
Check yourself:
- How many minutes of downtime a year is allowed at 99.99 percent?
- Why does each added nine cost more than the one before?