Skip to content
BENIBIX Learn

Failover

Infrastructure📟 ReliabilityResilient Systems

Also known as Automatic Failover, Active-Passive, Active-Active, Standby Server, Failback

Switching work to a standby copy when the main one fails.

Think of it like

Think of it like a spare goalkeeper. When the first one is hurt, the second runs on and the game goes on.

Example

Emma's database has a spare copy in a second data centre. The main one stops. The spare takes over in under a minute, and the app joins it.

Why it matters

A spare that nobody switches to does not help. Failover is what turns redundancy into uptime.

Definition

Failover is switching work from a part that failed to a standby that is ready to take over. In an active-passive setup, one copy does the work and the other waits. In an active-active setup, both share the work. Either one can carry it all. Failover can start on its own after a failed health check, or be done by hand. Moving back to the first copy once it is fixed is called failback.
The middle panel is failover. The main copy is down, so traffic moves to the standby.

Common mistake

Never testing it. A failover that has not been tried often fails on the day, so practise it on purpose.

Key takeaways

  1. 1
    Active-passive. One copy works and one waits.
  2. 2
    Active-active. Both work, and either can carry it all.
  3. 3
    Test it. An untried failover often fails.

Compare