Reliability · Intermediate · 11 min

Redundancy & Failover

Separate spare capacity, failure detection and authority to accept writes.

STEP 1 / 12
Define an availability objective — isometric concept diagramDefine what counts as available before counting nines. Components: 1. Clients. Representative clients, not a literal user count; 2. Primary service. Logical component or processing boundary. Connections: 1. Clients to Primary service: Define an availability objective; 2. Primary service to Clients: Reply: Primary service. Illustrations are conceptual, not deployed capacity or user counts.Clients → Primary service: Define an availability objective1Primary service → Clients: Reply: Primary service2Clients: representative traffic illustration; figure count is not a workload measurement.1ClientsRepresentative clients, not aliteral user countPrimary service: Logical component or processing boundary2Primary serviceLogical component or processingboundary
1Clients2Primary service
  1. 1Clients → Primary serviceRequestDefine an availability objective
  2. 2Primary service → ClientsReplyReply: Primary service

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Clients + Primary service highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • Suspected failure does not prove an old owner stopped.
  • A standby needs usable state and enough capacity.
  • Authority must be enforced where effects happen.

PUT THE IDEA TO WORK

From learning to practice

No related challenges are currently available. Browse practice

RELATED PATTERNS

Circuit breaker ↗

Further reading

Google SRE · Managing critical state ↗