Bookmarks

SPOF — single point of failure

A component of a system whose failure stops the operation of the whole system or its critical part.

Also: SPOF, single points of failure

checked 9 Nov

All terms

Failures of individual components are the norm: disks, servers and network links break regularly. The problem is that one of the components may have no duplicate, and when it fails it takes down the whole system or its critical part. Finding such places and removing them is the first step in designing reliable infrastructure.

How single points of failure are found

The system is traced mentally along the chain from the user to the data, and at each step the question is: what breaks if this component fails right now, and who would take its place. A dependency without a working duplicate in another failure domain is a single point of failure. In the contingency planning guide, NIST advises starting with critical systems: failure points are sought for the systems and processes identified in the business impact analysis.

LocationExampleHow it is covered
Traffic entrya single provider link or a single edge routera backup link, a pair of routers
Load balancinga single load balancer in front of all serversa pair of load balancers in an active-passive configuration
Dataa single database server with no replicasreplication and automatic failover
Power and sitea single power feed, a single data centrea second power feed, distribution across availability zones
Processesone machine builds the releases, only one person has production accessbuild automation, documentation, shared access

How they are eliminated

Components are duplicated — so that the copies do not share a fate: in different racks, availability zones or regions, from different vendors, sometimes even on different technologies — diversity keeps a single type of failure from striking all copies at once. Redundancy is expensive, so NIST recommends adding it to critical components and relying on the recovery plan for the rest.

Duplicates do not help while their shared mechanism remains a new point of failure: a pair of database servers behind a single load balancer still runs into it. In clusters with quorum, the number of tolerated failures is counted explicitly: for example, the etcd store accepts writes only if more than half of the nodes agree — (n/2)+1:

Nodes in the clusterFailures survived
10
20
31
41
52
73

Testing does not end with the diagram: a failure is induced on purpose — a node, a link or a zone is switched off — and what actually happens is observed. This is how hidden points of failure come to light, such as a standby that nobody has checked for years and that will not come up in a real incident.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • failover

    Failover is the switch itself — the move to a standby when a failure happens — while a single point of failure is what failover masks: a component without a live duplicate.

  • HAhigh availability

    High availability is the property of a system staying available through failures; a single point of failure is the main obstacle on the way there.

In depth in the references

where the topic is covered in detail

Appears in the references