Skip to content
IT glossary
ArchitectureUpdated December 3, 2026

Single point of failure

Единая точка отказа

A system has a single point of failure (SPOF) when losing one component can stop the whole system or an important function because nothing else can take over.

Also known as: SPOF

What counts as a single point of failure?

Picture an app with four healthy web servers behind one load balancer. If that load balancer goes down and there is no alternate route, users cannot reach any of the servers. The load balancer is a single point of failure even though the application itself has spare capacity.

Always name the function that stops. An unavailable payment provider might halt checkout without affecting browsing. A failed recommendations service need not take down product pages if the application can show them without recommendations.

How to spot one in a design

Pick an operation users must be able to complete, such as placing an order. Trace its required dependencies from the public entry point to the systems that read or write data. Remove one component at a time on paper and ask what happens next: Can traffic take another route? Does another instance have the state and capacity to serve it? Who detects the failure, and how long does the switch take? A standby that takes ten minutes to activate does not meet a thirty-second recovery target.

Look for shared failure domains as well as single instances. Two virtual machines on one physical host can survive a process crash, but losing the host can take both out. Putting replicas in separate availability zones addresses a zone outage, not a bad configuration deployed to every replica.

Example: keeping order writes available

Suppose every application instance sends order writes to one database primary. Adding more application instances does not change what happens when that primary fails. A standby in a separate availability zone can take over, but the design also needs to detect the failure, promote the standby, prevent the old primary from continuing to accept writes, and direct clients to the new primary.

Test the full path under representative load. Being able to promote the standby is not the same as being able to place an order again: clients may still be trying to reach the old primary. With asynchronous replication, the standby may also be missing recently acknowledged writes. Measure both the interruption and any data loss rather than counting replicas.

Common design mistakes

  • Treating a backup as a standby. A backup helps recover data, but restoring it takes time and does not route live traffic. Keep backups even with replicas: replication can copy an accidental deletion.
  • Designing only for the switch. If the remaining servers cannot handle peak traffic, requests can still fail after routing moves to them.
  • Making optional work mandatory. A fallback that skips recommendations may protect the product page more simply than adding another recommendations server.

In a system design interview

Give a concrete failure story: what goes down, which user operation stops, and what takes over. Then state the trade-off. Manual recovery may be enough for an internal tool with a generous recovery window; a customer-facing checkout may need automatic failover and regular tests that show it meets its recovery targets.