Failover Strategies Flashcards

1
Q

Explain the ‘cold standby’ failover strategy

A

If a database goes down, you use periodic backups to restore your data on another database/server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the pros/cons of the ‘cold standby’ failover strategy

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the ‘warm standby’ failover strategy

A

You have a mirror image of your database that can be instantly ready to take the place of the main database (replication)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain the pros/cons of the ‘warm standby’ failover strategy

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain the ‘hot standby’ failover strategy

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain the pros/cons of the ‘hot standby’ failover strategy

A

Pros: most resilient, essentially a horizontal scaling solution
Cons: Most expensive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly