open atlas
↑ Back to track
System Design Foundations SD · 02 · 04

Availability: multiple-choice review

Multiple-choice synthesis across the availability unit: SLI/SLO/SLA and the nines, error budgets, redundancy sizing and correlated failure, and the failover/split-brain/retry-storm traps that turn recovery into outage.

SD Senior ◷ 13 min
Level
FoundationsJuniorMiddleSenior

Six questions that cut across the whole unit. Each is a judgement you make when you write an SLO, size redundancy, review a failover design, or read a postmortem — not a definition to recite, but the reasoning behind where to set a target, what counts as redundant, and why a failover turned into an outage.

Confirm you can place an SLO under an SLA, do the nines and availability-composition arithmetic, spend an error budget, size redundancy to N+1 against peak, spot a correlated failure behind “redundant” copies, and recognize split-brain and the retry storm.

Quiz

A customer SLA promises 99.9% monthly availability with credits for misses. Where do you set the internal SLO, and why?

Quiz

Your SLO is 99.99% successful requests over 28 days. Roughly how much downtime/failure does that allow per month, and what does the leftover represent?

Quiz

A request path is four independent serial components, each at 99.9% availability. What's the path's availability, and the design lesson?

Quiz

A service needs 4 servers to carry peak and runs exactly 4, calling itself redundant. One dies at peak. What's the verdict?

Quiz

Two database replicas are run 'for redundancy,' but both sit in the same availability zone. The AZ loses power. What does this expose?

Quiz

A network partition isolates a primary from its standby; the standby promotes itself while the primary is still alive and taking writes. What is this and what prevents it?

Recall before you leave
  1. 01
    Why does 'two replicas, both in one AZ' fail the redundancy test?
  2. 02
    What single design move prevents a split-brain during a network partition?
Recap

The through-line of the unit is that availability is reasoning you do before the incident. You set the SLO under the SLA so an internal breach warns you before you owe credits; you do the nines arithmetic (99.9% ≈ 43 min/month, 99.99% ≈ 4.3 min, 99.999% ≈ 26 s) and remember availability multiplies across serial dependencies, so a four-link 99.9% path is only ~99.6%. The error budget (100% − SLO) turns reliability into a spendable resource. You size redundancy to N+1 against peak, not average, and you place the copies in independent failure domains because two replicas sharing an AZ is correlated failure, not redundancy. And you design failover for a wrong detection: quorum or fencing against split-brain, bounded timeouts and capped retries with backoff-and-jitter against the retry storm, so recovery doesn’t become the next outage — with availability ≈ MTBF/(MTBF+MTTR) reminding you that fast, rehearsed recovery (MTTR) usually beats chasing a higher MTBF.

Something unclear?

Ask a question about this lesson. Questions are anonymous and go straight to the author to make the lesson better.

shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.