Failover Strategies: How do we switch?
There are generally 3 common types: (cold standby, warm standby, hot standby) — and the switch-over process differs between them.
| Strategy | State of Backup System | Failover Process | Manual or Automatic |
|---|---|---|---|
| Cold Standby | Powered off or not running | You have to power it on, install/configure software, load data | Mostly manual, slow |
| Warm Standby | Powered on but not fully ready (services installed, but not live) | You start services, sync latest data (if needed), redirect traffic | Mix of manual and semi-automated |
| Hot Standby | Fully running and ready (near real-time sync) | Automatically redirect traffic to standby | Mostly automatic, fast |
Now let’s describe the actual process for each:
Cold Standby
- Failure happens in primary system.
- IT team gets notified (alert).
- Manually boot the backup server.
- Install/restore software and load backups.
- Reconfigure network (DNS, load balancer, etc.) to point users to backup.
- Application is live again.
Manual + Slow → Might take hours depending on system complexity.
Warm Standby
- Failure happens in primary system.
- IT team gets alerted.
- Backup server is already powered on, but services are idle.
- Start application services on standby.
- Sync latest data (if needed).
- Reconfigure network to route users to standby.
Semi-automatic → Faster than cold standby (usually minutes to an hour).
Hot Standby
- Failure happens.
- Failover happens automatically (load balancer or clustering software detects failure).
- Traffic is redirected to standby (which is already synced and running).
- Users see almost no downtime.
Automatic + Fast → Downtime in seconds to a few minutes.
To directly answer you:
- Cold standby → manual
- Warm standby → mostly manual/semi-automated
- Hot standby → automatic
Bonus tip (for interviews or design discussions):
Automation tools (like load balancers, DNS failover, cluster managers) can reduce manual work even in warm standby.