All labs
Lab 36
Resilience Patterns

Redundancy & Failover

Run primary + backup as active-passive or active-active, with health checks watching the primary. Kill the primary and watch traffic fail over to the backup — with the real brief blip in between — then compare the two redundancy modes on cost and recovery.

Two nodes, traffic flowing. Choose active-passive or active-active, then kill the primary and watch how (and how fast) the system fails over.
📨 trafficload balancer + health check
🖥️
Node A
primary
serving
🖥️
Node B
backup (standby)
standby
Primary serving; backup on standby (idle).
Requests served
0
Dropped in failover
0
Mode
Active-Passive
cheaper, has a blip

Kill the primary in active-passive and watch the dropped-request count tick up during detection. Switch to active-active, kill a node, and dropped stays flat — at the cost of always running both.

What just happened