Defining high availability
easy 25 minAvailability is the share of time, or of requests, that a system works for its users.
When it comes up
The moments this idea belongs in a design interview, and the moments it does not.
Signals
When to bring it up
| You hear | Say | Because |
|---|---|---|
| "It must always be up" | Turn it into a number and a period | Always is not a target |
| Payments, calls, emergencies | Four nines or more on that path | A minute is expensive |
| An internal dashboard | Two or three nines | Nobody pays for more |
| Calls to other companies | Their SLA is in our chain | Availabilities multiply |
| Many microservices per page | Which ones are hard dependencies? | Ten at 99.9% give 99.0% |
Options
Compare your moves
How many nines do you choose for an online shop?
BreaksFive nines everywhere
- How
- Say 99.999% because it sounds strong.
- Limit
- 5.3 minutes a year for every page. The design cannot reach it through a 99.95% database, and the cost has no reason.
- Choose when
- A few core systems where an outage endangers people or a market.
WorksOne number for the whole shop
- How
- 99.9% of requests a month.
- Limit
- Simple, but treats a failed payment like a failed recommendation.
- Choose when
- A small product, or the first version of an SLO.
StrongA number per user action
- How
- Checkout 99.99%, browsing 99.9%, reports 99%. Check each against its hard dependencies.
- Limit
- More to measure and explain.
- Choose when
- Actions differ in value, which is nearly always.