Back to the map

Module 01 · Core concepts · Lesson 7 of 9

Single points of failure (SPOF)

A single point of failure is any component whose loss takes the system down. How to find them on a diagram, including the ones that hide (DNS, a certificate, one person), and the standard remedies.

IntroMust-knowJunior 9 min Updated Nov 2026

Why it matters

Most outages have a boring shape: one thing that everything depended on stopped working. The database with no replica. The load balancer that was itself a single machine. The expired TLS certificate. The engineer who knew the password. Finding single points of failure is the cheapest reliability work there is, because the fix is almost always "have two", and the cost of missing one is the whole system.

The idea

A single point of failure is a component whose failure causes the system to fail, because nothing can take over its role. On a diagram it is any box with no sibling, any arrow that has nowhere else to go.

DNSone recordLBsingleAPIAPIDatabaseno replica
Three SPOFs in a diagram that looks redundant. The API tier has replicas; the balancer, the database and the DNS entry do not.

Where they hide

The obvious ones are infrastructure: a lone database, a lone load balancer, a lone message broker, one availability zone. The ones that cause real outages are quieter:

  • Shared dependencies: every service calls the same auth service, config store or feature-flag endpoint. Redundant services with one shared SPOF are not redundant.
  • Control plane: DNS, certificates, the secrets manager, the deploy pipeline. These rarely fail, so nobody rehearses the day they do.
  • Capacity: two servers each running at 80 percent are a SPOF in disguise; lose one and the other falls over from the load.
  • Data: one region holding the only copy, or backups that have never been restored.
  • People and process: a single on-call engineer, a runbook in one person's head, a vendor account owned by someone who left.

The remedies

SPOFStandard remedyWhat to watch
Single databaseReplica with automatic failover; backups restored on a scheduleReplication lag, failover time, split brain
Single load balancerManaged, multi-instance balancer or active-passive pair with health checksThe health check itself; DNS pointing at it
Single zone or regionMulti-zone by default; multi-region for the paths that justify itData consistency across regions, cost
Shared serviceMake it redundant and make callers degrade without itTimeouts, cached last-known-good values
Certificates, DNS, secretsAuto-renewal, two providers, alerts weeks before expiryWho gets paged
Capacity at 80 percentSize for n-plus-one: lose one node and still have headroomAutoscaling lag
One personRunbooks, rotation, shared ownership of accountsBus factor during holidays

Blast radius

Not every SPOF deserves fixing. Ask what its failure takes down and for how long. A SPOF whose blast radius is one optional widget, with a five-minute recovery, is a note in a doc. A SPOF under checkout is the first item on the list of things to fix this quarter.

Trade-offs

Redundancy costs money and adds the coordination problems of running two of something: which one is primary, how they agree, what happens when both think they are in charge. Sometimes a well-monitored single component with a fast rebuild path is the right answer, as long as the choice is deliberate and its blast radius is understood. The failure is not having a SPOF; it is not knowing you have one.

In an interview

After drawing the high-level design, walk the diagram and name the single points of failure before the interviewer does: "The balancer and the database are singles here. The balancer I would make a managed multi-instance one; the database gets a replica with automated failover, and I would call out that failover takes about thirty seconds, during which writes fail." Then name a hidden one, such as DNS or the shared auth service. That second step is what distinguishes experience from textbook knowledge.

Check yourself

Two API servers each run at 80 percent CPU behind a redundant load balancer, with a replicated database. One API server dies. What happens?

Single points of failure (SPOF) · Backplane