Single point of failure

Also known as: SPOF

On this page 7

A single point of failure (SPOF) is any component of a system whose failure by itself stops the entire service, because no redundant component can take over its work. In server reliability, a SPOF can be hardware such as a power supply or switch, software such as a database primary, or something less visible such as a single DNS provider, one administrator account or one person who knows how a system works.

Finding and removing SPOFs is the starting point of high availability design. A service is only as available as its weakest unprotected dependency, so a cluster of ten application servers still goes down completely if all ten depend on one load balancer or one storage array.

Why a single point of failure limits availability

Availability of components that are chained in series multiplies: if a request must pass through a load balancer, an application server and a database, the service is available only when all three are. A chain of three components that are each available 99.9 percent of the time yields roughly 99.7 percent overall, because each one adds its own downtime.

Redundancy changes the arithmetic. Two independent components in parallel fail together only when both fail at the same time, so the probability of total loss drops sharply. This is why reliability engineering focuses on the components that have no parallel partner: they dominate the downtime budget and set the ceiling for uptime.

The reasoning holds only if failures are independent. Two servers in the same rack on the same power circuit share a hidden SPOF, the circuit itself, and both will fail together. Such common-mode failures are the reason why a careful SPOF analysis looks at shared infrastructure, not only at the boxes on an architecture diagram.

Where single points of failure hide

SPOFs appear on every layer of a server environment, from physical facilities to people. The table below lists typical examples and the usual way to remove them.

LayerTypical SPOFUsual mitigation
PowerOne power supply or one feedDual power supplies on separate circuits, UPS
NetworkOne switch, uplink or firewallRedundant switches, bonded links, firewall pairs
StorageOne disk or one storage controllerRAID, dual controllers, replicated storage
ComputeOne application serverSeveral servers behind a load balancer
DataOne database primaryReplica with automated failover
External servicesOne DNS or certificate providerSecondary providers, monitored renewal
FacilityOne data center or availability zoneMulti-zone or multi-site deployment
People and processOne engineer with unique knowledgeDocumentation, runbooks, shared on-call
Typical single points of failure by layer

The less visible entries cause many real outages. An expired TLS certificate, a single cloud account with no break-glass access or a configuration change pushed to all servers at once can stop a fully redundant system just as effectively as a failed disk.

The concept of a SPOF connects directly to several neighboring reliability terms. The comparison below clarifies how they relate.

ConceptRelationship to SPOFKey question
RedundancyThe main tool for removing a SPOFIs there a second component ready?
FailoverThe mechanism that activates the redundancyDoes traffic move when the primary fails?
Fault toleranceA design with no SPOF on the protected pathDoes service continue without interruption?
High availabilityThe goal that SPOF removal supportsHow much downtime is acceptable?
MTTRShortens outages when a SPOF remainsHow fast can the failed part be replaced?
Single point of failure and neighboring concepts

Redundancy alone is not enough. A standby that never takes over because failover is misconfigured is still effectively a SPOF, which is why practices such as chaos engineering and regular failover drills deliberately break components to prove that the backup path works.

How to find and prioritize single points of failure

A practical SPOF review traces a request end to end and asks for every hop what happens if it disappears. Teams usually start from a dependency map and then rank each finding by impact and likelihood, because removing every SPOF is rarely affordable.

  1. List every dependency on the request path, including DNS, certificates, identity providers and third-party APIs.
  2. Mark components without a partner or with a partner that shares power, network or location.
  3. Estimate the impact of each failure: full outage, degraded service or data loss.
  4. Compare the cost of redundancy with the cost of downtime and the expected recovery time.
  5. Test the result by failing components on purpose during a planned maintenance window.

The decision table below shows how this ranking typically turns into action.

SituationTypical decisionReason
Failure causes full outage and is likelyAdd redundancy with automatic failoverHighest risk, highest benefit
Failure is rare but recovery is slowAdd a warm standby and runbookReduces recovery time at moderate cost
Failure only degrades serviceAccept and monitorRedundancy cost exceeds the benefit
Failure could lose dataReplicate and back up immediatelyLost data cannot be restored by restarting
Deciding how to treat a single point of failure

Common mistakes when removing a single point of failure

Adding redundancy introduces its own complexity and new failure modes. Experienced engineers watch for these traps.

  • Moving the SPOF instead of removing it, for example by adding two web servers behind one unprotected load balancer.
  • Shared fate, where both replicas sit on the same host, rack, power feed or storage volume.
  • Split-brain risk in active-passive clusters, where both nodes believe they are primary; quorum or fencing prevents it.
  • Untested failover that works in diagrams but fails under real load or after configuration drift.
  • Ignoring the control plane, such as configuration management or a deployment pipeline that can break all nodes at once.

A plain-language summary

A single point of failure is the one part that brings everything down when it breaks. Picture a building with many rooms but only one door. If that door jams, nobody gets in, no matter how many rooms are open.

In computer systems, the fix is usually a second part that can step in. That means a spare server, a second network cable or another power line. The hard part is finding every hidden door, including people and outside services.

An example from practice

An online shop runs four application servers and believes it is well protected. During a review, the team traces the checkout path and finds that all four servers store sessions in one Redis instance on a single virtual machine. A routine host reboot would log out every customer and break every open cart.

The team replaces it with a three-node Redis setup with automatic failover placed on separate hosts, then tests it by stopping the primary during a quiet hour. Failover completes in a few seconds and customers keep their carts. The same review also reveals that DNS uses a single provider, so a secondary DNS service is added. Both changes remove outage risks that the redundant application tier had hidden.