Course contentsShow
← System Design
Lesson 1332 of 1,91933. Reliability Engineering FoundationsFree lesson

Active-Active vs Active-Passive Redundancy

Comparing systems where all replicas serve traffic versus one standby waiting to take over on failure.

Active-Active vs Active-Passive Redundancy

What you'll learn: How redundant systems differ based on whether all replicas actively serve traffic or one waits in standby.

The Core Concept

When building redundant systems (multiple copies of components to prevent single points of failure), you have two primary architectural patterns for how those replicas operate:

Active-Active: All replicas actively serve production traffic simultaneously. Load is distributed across them, and if one fails, the remaining replicas absorb its share. Think of multiple cashiers working at a grocery store — all are serving customers at once.

Active-Passive: One replica (active/primary) handles all traffic while others (passive/standby) remain idle, ready to take over only if the active replica fails. Like a backup generator that sits unused until the main power fails.

Key Differences

Active-Active

  • Traffic: Distributed across all replicas
  • Capacity: Full utilization of all resources
  • Failover: Instant (already serving traffic)
  • Complexity: Requires load balancing and state synchronization
  • Cost efficiency: High (no idle resources)

Active-Passive

  • Traffic: Only primary serves requests
  • Capacity: Standby resources sit idle
  • Failover: Requires detection and promotion (seconds to minutes)
  • Complexity: Simpler — no distributed coordination needed
  • Cost efficiency: Lower (paying for unused capacity)

When to Choose Each

Use Active-Active when you need maximum throughput, can't tolerate even brief failover delays, and can handle the complexity of distributed state. Use Active-Passive when simplicity matters more than resource efficiency, or when your system can't easily run in distributed mode (e.g., legacy databases).

Key Takeaway: Active-Active maximizes capacity and minimizes failover time but increases complexity, while Active-Passive is simpler and easier to reason about but wastes resources and has slower recovery.