Skip to content
StackDecode
System Design
1. System Design FundamentalsAnimated

Availability

The fraction of time a system is up and usable.

The idea

Availability is usually written as nines: 99.9% allows about 8.8 hours of downtime a year, 99.99% about 53 minutes.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

ClientsVirtual IPPrimarySecondary
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Clients use one stable address.

step:
1/4
at:
Clients
1/11

The green dot is a request moving through the system.

Step by step

  1. 1Define what counts as "up"
  2. 2Remove single points of failure
  3. 3Add health checks and failover
  4. 4Track uptime against the target

Where it is used

Setting SLAs and choosing replication.

Watch out for

Each extra nine costs roughly ten times more. Choose deliberately.

Related