Eliminating single points of failure
Find the component whose failure takes everything down, and remove it.
15 min readWhat is a SPOF?
A single point of failure is any component that, if it fails, stops the whole system. A single API instance, an unreplicated database, or one load balancer in one zone are all SPOFs.
Redundancy at every layer
Walk the request path and ask what happens if each component dies.
- Stateless tiers: run at least two instances behind a load balancer
- Data stores: add replicas with automatic failover
- Entry points: use managed, multi-zone load balancers or DNS failover
Availability maths
Availabilities multiply along a path: five components at 99.9% give about 99.5%. Redundancy multiplies the other way: two independent instances at 99.9% give 99.9999%. The Feedback panel shows this live as you add instances and replicas.
Key takeaways
- Every component on the request path needs a backup
- Serial dependencies lower availability; redundancy raises it
- Test failure explicitly: kill each component and watch what happens
Sign in to track lessons and earn badges.