Failover Strategies Flashcards
Explain the ‘cold standby’ failover strategy
If a database goes down, you use periodic backups to restore your data on another database/server
Explain the pros/cons of the ‘cold standby’ failover strategy
Pros: It’s better than nothing, prevents you from losing all your data. Cheaper option and simple.
Cons: Takes a long time to transfer backup data to new database, you’ll lose any data that wasn’t backed up in the last periodic backup
Explain the ‘warm standby’ failover strategy
You have a mirror image of your database that can be instantly ready to take the place of the main database (replication)
Explain the pros/cons of the ‘warm standby’ failover strategy
Pros: Near instant switch to backup, little/no data loss, easy to turn on (handled by db platforms)
Cons: More expensive, tiny chance that you might still lose data during the switch to backup
Explain the ‘hot standby’ failover strategy
Front end webserver is writing the same data to multiple backup hosts at the same time, so if one host goes down the traffic is immediately routed to another host.
Explain the pros/cons of the ‘hot standby’ failover strategy
Pros: most resilient, essentially a horizontal scaling solution
Cons: Most expensive