[{"data":1,"prerenderedAt":74},["ShallowReactive",2],{"term-f\u002Ffailover":3,"related-f\u002Ffailover":59},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":53,"sitemap":54,"stem":57,"subcategory":6,"__hash__":58},"terms\u002Fterms\u002Ff\u002Ffailover.md","Failover",null,{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 - The Vibe Check",[16,17,18],"p",{},"Failover is what happens when your primary database keels over and, instead of the whole app going down with it, a standby replica gets promoted to take its place automatically. It's the database equivalent of a backup quarterback getting shoved onto the field mid-game because the starter just got hurt, ideally the fans barely notice.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Failover is the automated or manual process of switching from a failed primary database to a standby replica, which is promoted to become the new primary. Automatic failover systems, like Patroni for Postgres or managed cloud offerings, detect primary failure via health checks and handle replica promotion and client redirection, minimizing downtime.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"The failover kicked in and we lost about four seconds of writes.\" \u002F \"Test your failover procedure before you actually need it in production.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"database","Failover is what happens when your primary database keels over and, instead of the whole app going down with it, a standby replica gets promoted to take it...","intermediate","md","f",{},true,"\u002Fterms\u002Ff\u002Ffailover",[49,50,51,52],"Read Replica","Logical Replication","Load Balancer","Write-Ahead Log",{"title":5,"description":41},{"changefreq":55,"priority":56},"weekly",0.7,"terms\u002Ff\u002Ffailover","CQV7Z8sHyPdo3Wg_oy2NG8bKtBIXyzXqzhAF7mRl6TU",[60,64,68,71],{"title":51,"path":61,"acronym":6,"category":62,"difficulty":42,"description":63},"\u002Fterms\u002Fl\u002Fload-balancer","networking","A load balancer is like a traffic cop for servers.",{"title":50,"path":65,"acronym":6,"category":40,"difficulty":66,"description":67},"\u002Fterms\u002Fl\u002Flogical-replication","advanced","Physical replication copies a database byte for byte, same version, same everything.",{"title":49,"path":69,"acronym":6,"category":40,"difficulty":42,"description":70},"\u002Fterms\u002Fr\u002Fread-replica","A read replica is a copy of your database that only handles read queries.",{"title":52,"path":72,"acronym":6,"category":40,"difficulty":66,"description":73},"\u002Fterms\u002Fw\u002Fwrite-ahead-log","The Write-Ahead Log (WAL) is the database's diary. Before changing any actual data, the database first writes what it's about to do in this log.",1792528084185]