One part that, if it breaks, stops the whole system.
A Single Point of Failure (SPOF) is one part of a system that, if it breaks, stops the whole system.
Look at your system as a chain. A chain is only as strong as its weakest link. If one link has no spare, it is a SPOF.
One small part can cause a big outage. Finding it early is much cheaper than finding it during an outage.
SPOFs hide in many places. Check each one.
| Where | Example SPOF | Usual fix |
|---|---|---|
| App server | Only one server runs the app | Many servers behind a load balancer |
| Load balancer | One load balancer in front of everything | Two load balancers (active-passive or active-active) |
| Database | One database holds all the data | Replicas and automatic failover |
| Network | One internet link or one switch | Two links from two providers |
| DNS | One DNS provider | Use more than one DNS provider |
| Data centre | Everything is in one building | Use many zones or regions |
| Power | One power source | Backup power (UPS and generator) |
| Person | Only one engineer knows how it works | Documents, shared knowledge, on-call team |
| Third-party service | A key service you depend on | Fallback or a second provider |
| Term | Meaning in easy words |
|---|---|
| SPOF | Single point of failure: one part whose failure stops everything |
| Redundancy | Having spare copies of a part |
| Failover | Moving work from a failed part to its spare |
| Failback | Moving work back to the original part after it is repaired |
| Replica | A copy of a database or server |
| Heartbeat | A regular βI am aliveβ signal between parts |
| Health check | A test that tells if a part is working |
| Blast radius | How much of the system is hurt when one part fails |
| Fault tolerance | Working even when a part fails |
| Bus factor | How many people can leave before the team is stuck. 1 means a human SPOF |
| Choice | We gain | We lose |
|---|---|---|
| Add a second copy | Survive one failure | Double cost for that part |
| Active-passive | Simple switching | Idle spare |
| Active-active | Better hardware use | Harder data syncing |
| Many regions | Survive a whole region outage | High cost, more delay and complexity |
These are general ideas of real, well-known outage patterns. Exact company details are more complex.