Foundations & First PrinciplesBeginner15 min read3 questions

Scalability, Availability and Reliability Explained

The three properties every interviewer probes, made precise. How availability maths actually composes, why reliability is not the same thing, and how to spot a single point of failure in any diagram.

Covers: Nines and error budgets, SLA vs SLO vs SLI, MTBF and MTTR, redundancy, single points of failure, fault tolerance

Candidates use scalable, available and reliable interchangeably. They are three different properties with three different failure modes, and an interviewer who hears them conflated will start probing. This lesson makes each precise and shows how they compose - because the arithmetic of composing availability is genuinely counter-intuitive.

Filter
0/3 mastered
BeginnerfundamentalsavailabilityreliabilityAsked at Google, Amazon

30-second answer

Scalability is the ability to handle growth by adding resources, ideally with cost rising linearly rather than exponentially. Availability is the fraction of time the system responds successfully. Reliability is the probability it behaves correctly over a period - an available system that returns wrong answers is not reliable. A system can be highly available and unreliable (always up, silently corrupting data), or reliable but unavailable (perfectly correct when running, down four hours a week).

IntermediateavailabilityreliabilitymathsAsked at Google, Amazon

30-second answer

Dependencies in series multiply: 0.999³ ≈ 0.997, so about 99.7%, which is roughly 2.2 hours of downtime a month rather than 43 minutes. Each dependency you add makes things worse. You improve it either by adding redundancy within each service - two independent replicas at 99.9% give 99.9999% for that component - or by removing the dependency from the critical path entirely with caching, defaults, or asynchronous processing.

IntermediatereliabilityredundancyfailureAsked at Amazon, Cloudflare

30-second answer

Walk the request path and ask of every component: if exactly this one thing dies, does the system stop? Anything that answers yes is a single point of failure. The classic ones are the database primary, the load balancer itself, a single availability zone, the DNS provider, a shared config or secrets service, and the deployment pipeline. You eliminate them with redundancy plus automatic failover - and you verify the failover actually works, because untested failover is not redundancy.

Showing 3 of 3 questions for scalability-availability-and-reliability.

Check your understanding

4 questions · no sign-up, nothing stored

0/4 answered
Question 1

1.Four services, each 99.95% available, all on the critical path. Approximate end-to-end availability?

Question 2

2.Two replicas, each 99% available, behind a load balancer. Assuming independent failures, combined availability?

Question 3

3.A system fails once a week but recovers automatically in 15 seconds. Roughly what availability is that?

Question 4

4.Which of these is NOT typically a single point of failure worth auditing?

Hands-on challenge

Build it - this is what you talk about in a deep-dive round.

Run a SPOF audit and set an error budget

Take any architecture diagram you have (or the one from lesson 1) and produce a reliability review a senior engineer would sign off.

Requirements

  • List every component and mark each as SPOF / redundant-same-domain / redundant-cross-domain.
  • Compute end-to-end availability assuming each component's individual availability, treating the critical path as a series chain.
  • Identify the two dependencies you could remove from the critical path, and say how.
  • Define one SLI, one SLO and the resulting monthly error budget in minutes.
  • Write the failover test you would run as a game day, including the abort criteria.

Stretch goals

  • Recompute availability after your two critical-path removals and quantify the improvement.
  • Identify a correlated-failure risk that the independence assumption hides.