anim-slides demo

db-failover

Requests reach the primary database, it fails, health checks propose promoting the replica, on-call approves and traffic is rerouted.

repl clients LB app-1 app-2 db-a db-b Primary Down Replica Primary Timeout requests stalled rerouted Orchestrator all checks passing db-a not responding promote db-b? failover complete error rate 0.0 % 41 % 0.1 % p99 latency 38 ms > 5 s 40 ms checks db-a Proposal: promote db-b replica in sync 0 writes lost ✓ Approved by on-call detect · promote · reroute illustrative

Swipe sideways to see the whole figure.