Skip to content
We areTOP 1%

What is a single point of failure, and how do redundancy and failover remove it?

MediumConceptScalability & Performance
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

A single point of failure (SPOF) is any component whose failure takes the whole system down, such as a lone database server, load balancer or network link. You remove it by running redundant copies and switching traffic automatically when one fails.

  • Active-passive: a standby takes over when health checks detect that the primary has failed; simple, but the standby sits idle and failover takes seconds.
  • Active-active: all copies serve traffic, so capacity is fully used and a failure only reduces capacity; shared state must be coordinated.
  • Failure domains: spread replicas across racks, availability zones or regions so that one event cannot take out every copy.
  • Test failover regularly: an untested standby often fails exactly when it is needed.

More in Scalability & Performance

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account