Standby servers in active-passive setups remain idle, wasting compute resources and providing no return on the hardware investment.
In active-active failover, both servers manage traffic simultaneously, spreading the load between them and eliminating idle resources.
- Both servers are active and handle client requests concurrently.
- A load balancer or DNS distributes incoming traffic across both servers.
- If one server fails, the remaining server continues handling all traffic (with degraded capacity).
- DNS must be configured with both IP addresses for public-facing services.
- Application logic must be aware of both servers for internal communication.
- Also called master-master failover.
- No idle resources — both servers handle traffic
- Load is spread between both servers, improving throughput
- DNS or application must be aware of both server IPs
- Capacity is degraded (not lost) on single-server failure
- Also called master-master failover
- Contrasts with: Active-Passive Failover — both active vs one standby
- Related: Availability Nines — active-active improves overall availability
- Related: Layer 4 Load Balancing — load balancers distribute traffic in active-active
- Related: Horizontal Scaling — active-active is a form of horizontal scaling
- Session affinity (sticky sessions) becomes harder — requests from one user may hit different servers
- Both servers must have consistent state or share storage to avoid data divergence
- Failover capacity is only 50% — if one server dies, the remaining server must handle full load