High Availability

N+1, N+2, the redundant-component formula, and why a single 99.9% box stays a single 99.9% box.

Overview

Redundancy buys the nines

High availability is not 'buy a more reliable box.' A single 99.9% server is a 99.9% server. The only way past per-component reliability is redundancy plus automated failover, and the math is unforgiving.

Key concepts

  • Hard-dependency math
  • Redundant-component math
  • N / N+1 / N+2
  • Independent failure domain
  • AWS availability table (canonical)

Interview questions

  • A service has three independent dependencies, each 99.99% available. What's its effective availability?
  • Why does N+1 redundancy not always give you "two 9s more"?
  • When do you actually need N+2 instead of N+1?
  • Recite the AWS availability-to-downtime table.

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio