Dashboard
Courses
Problems
Badges
Theme
Sign inStart free
Courses/Reliability and Failure
Lesson 1 of 24

Eliminating single points of failure

Find the component whose failure takes everything down, and remove it.

15 min read

What 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.

Availability maths: nines, serial and parallel

Coming up

Course: 0/24 lessons · 0/10 challenges0%

Build it on the canvas, pass the review (70+) and mark it complete to count it toward the course badge.

  1. 1/10Design a Web CrawlerUse per-host timeouts, bounded retries and bulkheads so one slow or hostile site never stalls the whole crawl.Medium
  2. 2/10Design a Weather API ProxyCache provider responses and serve stale data behind a circuit breaker when the paid upstream API is down.
Easy
All 10 challenges →