Distributed systemsmulti-activemulti-region active-activeactive/active

Active-active

Definition

An active-active deployment has every replica or region handling production requests simultaneously, with data replicated between them and traffic redistributed when one fails.

In practice

Because every site already takes traffic, there is no cold standby to discover broken at the worst moment, recovery is mostly a routing change, and users can be served from the nearest region. It gives the lowest RTO of the disaster recovery strategies.

Accepting writes in several places means concurrent conflicting writes, so the data layer needs conflict resolution (last write wins, CRDTs, or partitioning ownership per user or region). Each site must also have spare capacity to absorb the others' traffic, and it is the most expensive and complex option to run and test.

Example

Two regions each run at 45% capacity; when eu-central fails, DNS and the global load balancer move its users to eu-west, which rises to 90% without a database promotion.