Geo-redundancy

Also known as: geographic redundancy

On this page 7

Geo-redundancy, also called geographic redundancy, is the practice of running duplicate servers, storage and network connectivity in two or more physically separate locations, so that a failure affecting one site does not stop the service or destroy its data. In the Reliability topic of Servers, it extends ordinary redundancy from the level of disks, power supplies and hosts to the level of entire data centers and regions.

The goal is protection against site-wide events: power grid failures, floods, fires, fiber cuts, regional cloud outages or large-scale operator errors. Geo-redundancy is a core building block of disaster recovery and of high availability designs that must survive the loss of a whole facility.

How geo-redundancy works

Geo-redundancy works by keeping a usable copy of the service and its data at a distant site and by having a mechanism that moves traffic there when the primary site fails. Three elements must be present: replicated data, deployable compute capacity, and a traffic steering method such as DNS failover, anycast routing or a global load balancer.

Data replication is the hardest part. Stateless application servers can simply be deployed in both places, but databases, file stores and message queues must copy their changes across a wide-area link, which introduces latency between sites and forces a choice between synchronous and asynchronous replication.

Replication modeHow it commitsData loss on site failureLatency impact
SynchronousWrite confirmed only after the remote site stores itNone in normal operationAdds round-trip time to every write
AsynchronousWrite confirmed locally, shipped laterSeconds to minutes of recent changesNegligible for clients
Semi-synchronousWrite confirmed after at least one replica acknowledgesUsually minimalModerate
Periodic snapshot copyPoint-in-time copies transferred on a scheduleUp to one interval, often hoursNone
Replication modes between geographic sites

Because light in optical fiber covers roughly 200 km per millisecond, synchronous replication is normally limited to sites within about 100 km of each other. Larger distances, which give better protection against regional disasters, usually rely on asynchronous replication and accept a nonzero RPO.

Geo-redundant topologies

Geo-redundant systems are built in a few recognizable topologies that differ in cost and recovery speed. The choice follows directly from the RTO and RPO the business has agreed to.

TopologySecondary site stateTypical RTORelative cost
Active-activeServes live traffic continuouslySeconds to minutesHighest
Active-passive hot standbyRunning and synchronized, idleMinutesHigh
Warm standbyScaled-down infrastructure runningTens of minutes to hoursMedium
Cold standby or pilot lightData copied, compute provisioned on demandHours to daysLow
Backup-only offsite copyData stored, no infrastructureDaysLowest
Common geo-redundant topologies

Active-active designs also improve latency for distributed users, because each region serves nearby clients. However, they demand conflict handling for concurrent writes, typically through a single write leader per data partition, consensus protocols such as Raft or Paxos, or conflict-free replicated data types.

How geo-redundancy relates to other reliability concepts

Geo-redundancy is a specific scope of redundancy, and it is often confused with neighboring concepts that address different failure domains or different goals.

ConceptWhat it protects againstScope
Local redundancyFailure of a disk, host or power supplyWithin one rack or data center
Multi-zone deploymentLoss of one facility in a metro areaAvailability zones a few kilometers apart
Geo-redundancyLoss of an entire site or regionSites tens to thousands of kilometers apart
Offsite backupData destruction and corruptionCopies only, no running service
Fault toleranceAny single component failure without interruptionDesign property, any scope
Geo-redundancy and related concepts

One critical distinction is that replication is not a backup. A geo-redundant database replicates accidental deletions, ransomware encryption and corrupted writes to the second site within seconds, so geo-redundancy must be combined with versioned or immutable backups.

Designing a geo-redundant service

Effective geo-redundancy starts with independent failure domains. Two sites that share a power utility, a flood plain, an upstream carrier or a single control plane are not truly redundant, even if they are far apart on the map.

  • Choose sites with separate power grids, carriers and seismic or flood risks.
  • Replicate configuration, secrets and DNS records, not only data and binaries.
  • Use health-checked traffic steering with short DNS TTLs, typically 30-300 s, or anycast.
  • Decide in advance who may declare a failover and how failback will be performed.
  • Run regular failover drills, ideally by actually serving production traffic from the secondary site.

Capacity planning matters as much as replication. In a two-site active-active design, each site must handle 100% of peak load alone, which means that in normal operation both sites run at no more than about half of their capacity.

Limitations and failure modes

Geo-redundancy reduces site-level risk but adds complexity, and complexity creates its own outages. Several failure modes recur in practice.

  • Split brain: both sites believe they are primary after a network partition and accept conflicting writes; quorum or a third witness site prevents it.
  • Untested failover: scripts and runbooks decay, so the secondary site fails exactly when it is needed.
  • Hidden shared dependencies: an identity provider, license server or DNS provider in one location defeats the design.
  • Replication lag that grows unnoticed under load, silently enlarging the real RPO.
  • Data residency rules that restrict which countries may hold replicated personal data.

In plain words

Geo-redundancy means keeping a second working copy of a service in another city or region. If something bad happens to the first location, such as a long power cut or a flood, the second location takes over and users can keep working.

It is like a company that keeps a fully equipped branch office in another town, with copies of all its files kept up to date. If the main office burns down, staff go to the branch and continue. The main point is that the copy only helps if it is far enough away, kept current, and actually tested.

A real-world example

A regional payment processor runs its transaction platform in a primary data center and keeps a hot standby site about 400 km away. Database changes are shipped asynchronously, and replication lag normally stays below two seconds. A global DNS service with health checks and a 60-second TTL points clients to the active site.

During a storm, the primary facility loses utility power and one of its generators fails to start, so the operations team declares a site failure. They promote the standby database, verify that the last transactions match the replication log, and switch DNS. Merchant terminals reconnect within about eight minutes, with only a handful of in-flight transactions requiring re-authorization.

Because the team had rehearsed the same switchover every quarter, the incident ended as a short service degradation instead of a day-long outage, and failback was completed two days later during a quiet overnight period.