anim-slides gallery

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.

Download playable demo
Verb
travel
Archetype
graph
Domain
software
viewBox
1000 × 560
Control
once: plays one pass, then rests on the finished state
Pass
9.4 s
Technique
phase changes as opacity swaps on stacked layers, timed by shared keyframes
Tags
failover, incident, database, high-availability, approval, phased-story
Files
db-failover.html (fragment) · db-failover-demo.html (playable page) · thumb.png
Source
pool/db-failover/

Paste the fragment into any HTML deck; it plays while an ancestor has the class visible (one pass for once, then it holds the finished state) and otherwise shows its resting frame. Rename the prefix (db-failover) when you adapt it so it stays unique in your deck.