# Data and service redundancy: replication, quorum, RPO and RTO

> A second copy of data is redundancy with a consistency problem: it must decide how many copies confirm a write, which copy is authoritative after a failure, and how far back a recovery can go. This article works through synchronous and asynchronous replication with the latency and loss each costs, quorum and consensus from the Paxos and Raft papers, the recovery point and recovery time objectives as NIST, ISO, the cloud providers and the regulators define them, backups against replicas, and multi-site designs, and reads six operators' reports on incidents where data redundancy did and did not hold. After reading, you can choose a replication mode for a recovery objective, size a quorum and place its members so that it survives the loss of a site, tell a backup from a replica, and turn an RPO and an RTO into numbers a design can be tested against.

Source: https://ronutz.com/en/learn/data-and-service-redundancy-replication-quorum-rpo-and-rto  
Updated: 2026-11-23  
Related tools: https://ronutz.com/en/tools/python-playground, https://ronutz.com/en/tools/time-calculator, https://ronutz.com/en/tools/change-blast-radius-mapper, https://ronutz.com/en/tools/incident-timeline-rca-builder, https://ronutz.com/en/tools/health-snapshot-comparator

---

A router can lose its twin and keep every flow, because it holds no state worth keeping; a database cannot, because its state is the whole point. Redundant data has to answer three questions that redundant links never face: how many copies must confirm a write before the client is told it succeeded, which copy is authoritative after a failure, and how far back a recovery can reach when every copy is wrong. This article takes the three in turn. It works through synchronous and asynchronous replication with the latency and the loss each one costs, explains quorum and consensus from the papers that defined them, sets the recovery point objective (RPO) and the recovery time objective (RTO) out as the standards, the cloud providers and the regulators write them, separates backups from replicas, and compares the multi-site designs the providers publish, before reading six operators' own reports on incidents where data redundancy held or did not. After reading, you can choose a replication mode for a recovery objective, size a quorum and place its members so that it survives the loss of a site, tell a backup from a replica, and turn an RPO and an RTO into numbers that a design can be tested against. It is part 9 of the series that opens with [Redundant architectures: how networks survive failure](https://ronutz.com/en/learn/redundant-architectures-how-networks-survive-failure); the arithmetic of majorities is in [part 2](https://ronutz.com/en/learn/the-arithmetic-of-redundancy-availability-mtbf-and-shared-fate), and the tests that prove any of this works are in [part 10](https://ronutz.com/en/learn/testing-redundancy-failure-drills-chaos-and-the-failover-never-tried).

## What data redundancy has to decide

The [hub of this series](https://ronutz.com/en/learn/redundant-architectures-how-networks-survive-failure) recalls why the Internet's routers fail over for free: connection state lives at the endpoints, so losing a router loses nothing that cannot be rebuilt. Data reverses the bargain. A copy is useful only if it holds what the original held, and the original changes thousands of times a second. Every design in this article is a choice about three things:

| Question | Engineering answer | Business name for the answer |
|---|---|---|
| When is a write safe? | How many copies acknowledge it before the client hears "committed" | How much recent data may be lost: the RPO |
| Who is right after a failure? | A rule that lets exactly one group of copies keep accepting writes | Whether the service stays up, and with what guarantees |
| How far back can we go? | Backups, snapshots and point-in-time recovery, kept apart from the live copies | How long recovery may take, and from which mistakes: the RTO and the backup policy |

The vocabulary is defined by the documents in the section on RPO and RTO below; the mechanisms come first, because the objectives are only as good as the mechanisms that deliver them.

## Synchronous and asynchronous replication

### What the database documentation promises

PostgreSQL's documentation states the default plainly: streaming replication is asynchronous, and "If the primary server crashes then some transactions that were committed may not have been replicated to the standby server, causing data loss. The amount of data loss is proportional to the replication delay at the time of failover" ([PostgreSQL 18 documentation, 26.2.8, Synchronous Replication](https://www.postgresql.org/docs/current/warm-standby.html)). Synchronous replication makes each commit wait until its write-ahead log (WAL) record is on disk at the standby as well, so that "The only possibility that data can be lost is if both the primary and the standby suffer crashes at the same time", and the price is stated in the same paragraph: "The minimum wait time is the round-trip time between primary and standby" (same page).

The `synchronous_commit` setting chooses how far the standby must have got before the primary answers ([PostgreSQL 18 documentation, 19.5, Write Ahead Log, synchronous_commit](https://www.postgresql.org/docs/current/runtime-config-wal.html)):

| Setting | The commit returns when | What survives |
|---|---|---|
| `off` | Immediately, before the local flush (at most three times `wal_writer_delay` later it is flushed) | A crash may lose "recent allegedly-committed transactions", without corrupting the database |
| `local` | The local WAL is flushed; replication is not waited for | Loss of the primary loses what had not shipped |
| `remote_write` | The standby has written the record to its file system | Survives a crash of the standby's PostgreSQL, "but not if the standby suffers an operating-system-level crash" |
| `on` (default) | The standby has flushed the record to durable storage | Lost only if "both the primary and all synchronous standbys suffer corruption of their database storage" |
| `remote_apply` | The standby has applied the record and it is visible to queries there | As `on`, plus read-your-writes on the standby; "much larger commit delays" |

The same page lists the setting's cost in availability, not only in latency. With synchronous standbys configured, commits wait for them, and "Such transaction commits may never be completed if any one of the synchronous standbys should crash" ([PostgreSQL 18, 26.2.8.4, Planning for High Availability](https://www.postgresql.org/docs/current/warm-standby.html)). The documented way out is to name more potential synchronous standbys than the number that must answer: `synchronous_standby_names = 'FIRST 2 (s1, s2, s3)'` waits for the two highest-priority standbys and promotes s3 if one of them disconnects, while `'ANY 2 (s1, s2, s3)'` is what the documentation calls "a quorum-based synchronous replication": any two of the three will do (same page). A design that names exactly as many synchronous standbys as it waits for has made the standby a single point of failure for writes.

### The latency bill, worked

A commit that waits for a remote acknowledgement cannot be faster than one round trip. Google's site reliability engineering (SRE) authors give the round trips that matter: "Within a single datacenter, round-trip times between machines should be on the order of a millisecond. A typical round-trip-time (RTT) within the United States is 45 milliseconds, and from New York to London is 70 milliseconds" ([Google, Site Reliability Engineering, chapter 23, Managing Critical State](https://sre.google/sre-book/managing-critical-state/)). For one client session that commits serially, the ceiling is 1,000 ms divided by the RTT:

| Where the synchronous standby is | Round trip | Most serial commits per second per session |
|---|---|---|
| Same data centre | about 1 ms | 1,000 |
| Elsewhere in the United States | 45 ms | 22.2 |
| New York to London | 70 ms | 14.3 |

Parallel sessions raise the total, but every individual transaction pays the round trip, and locks are held while it waits ("transaction locks continue to be held until the transfer is confirmed", [PostgreSQL 18, 26.2.8.3](https://www.postgresql.org/docs/current/warm-standby.html)). This is the reason synchronous replication usually stays within a metropolitan area and asynchronous replication crosses continents. Microsoft's reliability guidance puts the pattern in one sentence: "synchronous across availability zones for high-priority data, asynchronous across regions for lower priority" ([Microsoft Learn, Azure Well-Architected Framework, Architecture strategies for disaster recovery, updated 19 November 2025](https://learn.microsoft.com/en-us/azure/well-architected/reliability/disaster-recovery)). Google's disaster recovery architecture guide states the trade the other way round: "Asynchronous replication offers lower latency at the cost of risk of data loss during an outage" ([Google Cloud, Architecting disaster recovery for cloud infrastructure outages, last updated 10 May 2024](https://cloud.google.com/architecture/disaster-recovery)).

### The loss bill, worked

For asynchronous replication the exposure is the replication lag multiplied by the write rate. PostgreSQL measures the lag in three columns of the `pg_stat_replication` view, `write_lag`, `flush_lag` and `replay_lag`, the time between flushing WAL locally and hearing that the standby has written, flushed or applied it; the documentation adds that these "represent the commit delay that was (or would have been) introduced by each synchronous commit level, if the remote server was configured as a synchronous standby" ([PostgreSQL 18 documentation, 27.2, The Cumulative Statistics System, pg_stat_replication](https://www.postgresql.org/docs/current/monitoring-stats.html)). With illustrative numbers, a database taking 500 writes a second loses up to 250 of them at half a second of lag, 1,000 at two seconds and 15,000 at thirty. The real figure from one incident below is 954 writes on one of GitHub's busiest clusters, unreplicated when a 43-second network partition triggered a cross-country failover.

### Replicated logs: Kafka's in-sync replicas

Apache Kafka shows the same trade in a different shape. A message is considered committed "only when all replicas in the in-sync replicas (ISR) for that partition have applied it to their log", and a replica that falls too far behind is removed from the ISR ([Apache Kafka 4.2 documentation, Design, Replication](https://kafka.apache.org/42/design/design/)). The designers compare their approach with a majority vote: "To tolerate one failure requires three copies of the data, and to tolerate two failures requires five copies of the data", whereas the ISR approach tolerates f failures with f+1 copies, at the cost of waiting for the slowest member of the set (same page):

| Failures to survive | Copies under a majority vote (2f+1) | Copies under Kafka's ISR (f+1) |
|---|---|---|
| 1 | 3 | 2 |
| 2 | 5 | 3 |

The documentation is candid about the edge. With `acks=all`, acknowledgement comes when "all the current in-sync replicas" have the message, so a topic with two replicas, one of them down, still accepts writes that "could be lost if the remaining replica also fails" (same page). Two topic settings move the balance: a minimum ISR size, below which the partition refuses writes, and the choice of what to do when every in-sync replica is gone. On the second, Kafka's designers write "This is a simple tradeoff between availability and consistency", and since version 0.11.0.0 the default is to wait for a replica that was in sync rather than elect one that may have lost committed messages (same page). They add that the dilemma "is not specific to Kafka": in any majority scheme, if a majority suffers permanent failure, "you must either choose to lose 100% of your data or violate consistency by taking what remains on an existing server as your new source of truth" (same page).

### What the managed databases publish

The cloud providers state the objectives their own replication modes reach. Microsoft's table for Azure SQL Database is the clearest:

| Azure SQL Database option | RTO (downtime) | RPO (data loss) |
|---|---|---|
| High availability, zone redundancy | Typically less than 30 seconds | 0 |
| Disaster recovery, failover groups or active geo-replication | Typically less than 60 seconds | Equal to or greater than 0, depending on changes not yet replicated |
| Disaster recovery, geo-restore | Typically minutes or hours | Typically minutes or hours, dependent on backup size and storage replication |

Source: [Microsoft Learn, Overview of business continuity with Azure SQL Database, updated 2 April 2026](https://learn.microsoft.com/en-us/azure/azure-sql/database/business-continuity-high-availability-disaster-recover-hadr-overview). The zero in the first row is replication inside a region that waits for the copies; the "greater than 0" in the second is the asynchronous copy between regions.

Google's Spanner turns the replicas into voters. A regional configuration has three read-write replicas, and "In regional configurations, two of the three replicas form a write quorum"; read-only replicas "don't take part in write quorums and don't function as a standalone disaster recovery (DR) solution" ([Google Cloud, Spanner instance configurations, last updated 12 November 2026](https://cloud.google.com/spanner/docs/instance-configurations)). A dual-region configuration places two read-write replicas and one witness in each region, and "Forming a write quorum and committing a transaction requires at least two voting replicas in each region" (same page). When a region is lost, the database must be moved to a single-region quorum, and the page gives the two speeds: a manual failover "usually completes within one minute", while automatic, Google-managed failovers "might take up to 45 minutes from the time the failure is first detected", because Google first gathers signals to verify that the whole region is disrupted (same page). Against a year at 99.99% availability, which allows 52.56 minutes of downtime, one 45-minute automatic failover spends 85.6% of the budget and a one-minute manual failover 1.9%: the price of not failing over by mistake is paid in RTO.

## Quorum and consensus, from the papers

### Why two copies cannot decide alone

The tempting design for a pair of servers is a heartbeat: if the partner stops answering, take over. Google's SRE book describes a content repository built that way, with pairs of file servers that fence each other with STONITH (Shoot The Other Node in the Head) when heartbeats stop, and calls the practice "an industry standard method of reducing split-brain instances, although as we shall see, it is conceptually unsound" ([Google SRE book, chapter 23](https://sre.google/sre-book/managing-critical-state/)). On a slow or lossy network both nodes time out, some fencing commands are not delivered, and pairs end up both active or both down; "The problem here is that the system is trying to solve a leader election problem using simple timeouts. Leader election is a reformulation of the distributed asynchronous consensus problem, which cannot be solved correctly by using heartbeats" (same chapter). Firewall and application delivery clusters live with the same problem and answer it with dedicated heartbeat links and tie-breakers, which is [part 7](https://ronutz.com/en/learn/stateful-clusters-active-standby-active-active-and-split-brain) of this series; the [split-brain](https://ronutz.com/en/glossary/split-brain) entry has the short version.

The theoretical limit was proved in 1985. Fischer, Lynch and Paterson showed that for agreement in an asynchronous system "every protocol for this problem has the possibility of nontermination, even with only one faulty process" ([Fischer, Lynch and Paterson, Impossibility of Distributed Consensus with One Faulty Process, Journal of the ACM 32, 2, April 1985](https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf)). Practical consensus protocols live with that result by keeping safety unconditional and making progress depend on timing.

### Paxos: any two majorities share a member

Leslie Lamport's own note on the paper tells how Paxos began: the builders of a fault-tolerant file system called Echo, in the late 1980s, claimed it would stay consistent and make progress "if any majority of the processors were working", and "I decided that what they were trying to do was impossible, and set out to prove it. Instead, I discovered the Paxos algorithm" ([Leslie Lamport, The Writings of Leslie Lamport, entry for The Part-Time Parliament](https://lamport.azurewebsites.net/pubs/pubs.html)). The paper appeared in ACM Transactions on Computer Systems in May 1998 after being "first submitted in 1990, setting a personal record for publication delay" (same page). Its plain-English restatement, Paxos Made Simple (2001), gives the core in one sentence: a value is chosen when a large enough set of acceptors accepts it, and "Because any two majorities have at least one acceptor in common, this works if an acceptor can accept at most one value" ([Lamport, Paxos Made Simple, ACM SIGACT News, December 2001](https://lamport.azurewebsites.net/pubs/paxos-simple.pdf)).

The same paper draws the line that every later system follows. Progress needs a single distinguished proposer, and by the result of Fischer, Lynch and Paterson a reliable algorithm for electing it must use randomness or real time, such as timeouts; "However, safety is ensured regardless of the success or failure of the election" (Lamport, as above). A Paxos group can stall; it cannot choose two different values.

### Raft: the same guarantee, with the timing written down

Raft was designed in 2014 to give the same guarantees in a form that is easier to implement correctly. A Raft cluster is available as long as a majority of its servers can communicate, and leader election depends on one timing requirement, "broadcastTime ≪ electionTimeout ≪ MTBF", where the broadcast time is the round trip to every server and MTBF the mean time between failures of one server ([Ongaro and Ousterhout, In Search of an Understandable Consensus Algorithm, extended version, 2014, section 5.6](https://raft.github.io/raft.pdf)). The paper gives the scales: broadcast times "may range from 0.5ms to 20ms, depending on storage technology", election timeouts are "likely to be somewhere between 10ms and 500ms", and server MTBFs are months (same section). Its measurements on a five-server cluster show what the choice costs: with timeouts drawn between 150 and 300 ms, the worst case of 1,000 trials to replace a crashed leader was 513 ms; with 12 to 24 ms, the average was 35 ms and the longest 152 ms, but timeouts that short make leaders lose elections they should keep, so the authors recommend the conservative range (section 9.3).

Production systems publish their own defaults. The etcd key-value store uses a 100 ms heartbeat and a 1,000 ms election timeout by default, and its tuning guide says "Election timeouts must be at least 10 times the round-trip time so it can account for variance in the network", up to a ceiling of 50 seconds for a cluster spread around the globe ([etcd v3.5 documentation, Tuning](https://etcd.io/docs/v3.5/tuning/)). MongoDB replica set members send heartbeats every two seconds, the default election timeout is ten seconds, and the median time to elect a new primary "should not typically exceed 12 seconds" with default settings ([MongoDB manual, Replica Set Elections](https://www.mongodb.com/docs/manual/core/replica-set-elections/)). Those election times are the floor of the RTO of anything that writes to these stores.

### Sizing a quorum

A majority of n members is ⌊n/2⌋+1, and the cluster survives the loss of the rest. etcd's documentation tabulates it and draws the conclusion: "Adding a member to bring the size of cluster up to an even number doesn’t buy additional fault tolerance" ([etcd v3.5 documentation, Frequently Asked Questions](https://etcd.io/docs/v3.5/faq/)).

| Members | Majority | Failures tolerated | Share of members that may fail |
|---|---|---|---|
| 3 | 2 | 1 | 33% |
| 4 | 3 | 1 | 25% |
| 5 | 3 | 2 | 40% |
| 6 | 4 | 2 | 33% |
| 7 | 4 | 3 | 43% |

The SRE book adds the operational argument for five rather than three: "Most system downtime is a result of planned maintenance", a three-member group with one member in maintenance cannot survive an unplanned failure, and so "five replicas should be run, allowing the system to operate with up to two failures" ([SRE book, chapter 23](https://sre.google/sre-book/managing-critical-state/)). etcd's FAQ warns that the design "totally avoids any possibility of split brain inconsistency" but that "permanent quorum loss is catastrophic", and that a 5-member cluster is "enough in most cases" while more than seven members costs write performance ([etcd FAQ](https://etcd.io/docs/v3.5/faq/)). [Part 2](https://ronutz.com/en/learn/the-arithmetic-of-redundancy-availability-mtbf-and-shared-fate) computes the availability of two-of-three and three-of-five groups when members fail independently; the next question is what happens when they do not.

### Placing the members: the arithmetic that independence hides

A quorum survives the loss of members, not the loss of places, unless the places are chosen for it. The calculation is simple enough to do for every design: remove all the members in one site and ask whether a majority is left.

| Layout (members per site) | Majority | Lose the largest site | Lose a smaller site |
|---|---|---|---|
| 3 members, 1/1/1 in three sites | 2 | 2 of 3 left: quorum | 2 of 3: quorum |
| 3 members, 2/1 (two sites, or two in one building) | 2 | 1 of 3 left: no quorum | 2 of 3: quorum |
| 4 members, 2/2 in two sites | 3 | 2 of 4: no quorum | 2 of 4: no quorum |
| 4 members plus a witness, 2/2/1 | 3 | 3 of 5: quorum | 4 of 5: quorum |
| 5 members, 3/2 in two sites | 3 | 2 of 5: no quorum | 3 of 5: quorum |
| 5 members, 2/2/1 in three sites | 3 | 3 of 5: quorum | 4 of 5: quorum |

Two sites cannot carry a majority through the loss of the bigger one, whatever the number of members; a third location, even a small one, can. That third location is often a witness: a voter that holds no data. Microsoft's failover clustering documentation says that a cluster "generally requires more than half the nodes to be running", that with two nodes "a witness is required", with three or four "strongly recommended", and that with five or more "a witness isn't needed and doesn't provide additional resiliency"; its dynamic witness "toggles the vote of the witness to make sure that the total number of votes is odd" ([Microsoft Learn, Understand cluster and pool quorum, updated 12 February 2025](https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/quorum)). Spanner's dual-region witness replicas in each region play the same part (above).

Distance is the other side of placement. "much of the availability benefits of distributed consensus systems require replicas to be "distant" from each other, in order to be in different failure domains", and every consensus operation then pays the round trip to a majority (SRE book, chapter 23). The book's worked example spreads five replicas as two in the central United States, one on the east coast and two in Europe, so that North America can form a quorum without waiting for Europe and Europe can form one with the east coast replica: "The east coast replica acts as a linchpin of sorts, where two possible quorums overlap" (same chapter). It also shows why a sixth replica can hurt: "With six replicas, a quorum requires four replicas: only 33% of the replicas can be unavailable if the system is to remain live", and if the sixth sits in a data centre that already has one, losing that data centre removes both spares (same chapter). And it gives the throughput floor that disks impose: "If latency for performing a small random write to disk is on the order of 10 milliseconds, the rate of consensus operations will be limited to approximately 100 per second", which batching raises (same chapter).

The [Python playground](https://ronutz.com/en/tools/python-playground) reproduces the placement table for any layout:

```python
# For each site, remove its members and check whether a majority of all voters remains.
def survives(sites):
    n = sum(sites); majority = n // 2 + 1
    return [(lost, n - lost >= majority) for lost in sites]

for name, sites in {"3: 1/1/1": [1, 1, 1], "3: 2/1": [2, 1], "4: 2/2": [2, 2],
                    "4+witness: 2/2/1": [2, 2, 1], "5: 3/2": [3, 2], "5: 2/2/1": [2, 2, 1]}.items():
    print(name, survives(sites))
```

### Read and write quorums

Not every replicated store runs a consensus protocol for each write. Amazon's Dynamo paper of 2007 set out the alternative, from which Apache Cassandra says it takes "a number of techniques" ([Apache Cassandra documentation, Dynamo](https://cassandra.apache.org/doc/latest/cassandra/architecture/dynamo.html)): with N copies, a read waits for R of them and a write for W, and "Setting R and W such that R + W > N yields a quorum-like system", because every read set then overlaps every write set; "The common (N,R,W) configuration used by several instances of Dynamo is (3,2,2)" ([DeCandia and others, Dynamo: Amazon's Highly Available Key-value Store, SOSP 2007, sections 4.5 and 6](https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf)). With N = 3, R = 2 and W = 2 overlap; R = 1 and W = 2, or R = 2 and W = 1, do not, and a read may miss the latest write. Dynamo then relaxes its own rule for availability: it uses a "sloppy quorum", in which reads and writes go to "the first N healthy nodes from the preference list", with hinted handoff returning the data to its proper home later (same paper, section 4.6). Cassandra exposes the choice per request through consistency levels such as ONE, QUORUM, LOCAL_QUORUM and EACH_QUORUM, and its documentation repeats the R + W > N condition for read-your-writes ([Apache Cassandra documentation, Dynamo architecture](https://cassandra.apache.org/doc/latest/cassandra/architecture/dynamo.html)).

### CAP, and what happens when nothing is broken

Daniel Abadi's paper sums up the usual reading of the CAP theorem, named for consistency, availability and partition tolerance, as designers who "can choose two of three desirable properties" ([Abadi, IEEE Computer, February 2012](https://www.cs.umd.edu/~abadi/papers/abadi-pacelc.pdf)). The SRE book states the mechanism more usefully: if two nodes cannot communicate, "the system as a whole can either stop serving some or all requests at some or all nodes (thus reducing availability), or it can serve requests as usual, which results in inconsistent views of the data at each node" ([SRE book, chapter 23](https://sre.google/sre-book/managing-critical-state/)). Seth Gilbert and Nancy Lynch, whose 2002 paper in SIGACT News proved Brewer's conjecture, placed it in a wider rule ten years later: "The CAP Theorem, in this light, is simply one example of the fundamental fact that you cannot achieve both safety and liveness in an unreliable distributed system" ([Gilbert and Lynch, Perspectives on the CAP Theorem, 2012](https://groups.csail.mit.edu/tds/papers/Gilbert/Brewer2.pdf)). Abadi argued that the trade between consistency and latency "is present at all times during system operation, whereas CAP is only relevant in the arguably rare case of a network partition", and proposed PACELC: "if there is a partition (P), how does the system trade off availability and consistency (A and C); else (E), when the system is running normally in the absence of partitions, how does the system trade off latency (L) and consistency (C)?" ([Abadi, Consistency Tradeoffs in Modern Distributed Database System Design, IEEE Computer, February 2012](https://www.cs.umd.edu/~abadi/papers/abadi-pacelc.pdf)). The synchronous commit table above is the ELC half; the Spanner failover times and Kafka's unclean election are the PAC half. The [CAP theorem](https://ronutz.com/en/glossary/cap-theorem) and [consensus](https://ronutz.com/en/glossary/consensus) entries summarize both.

One last warning from the SRE book belongs here, because it links consensus to backups: the consensus replicas are online copies of the data, but "There are two failure domains that you can never escape: the software itself, and human error on the part of the system’s administrators", which is why it advises keeping regular snapshots elsewhere even for well-spread consensus systems ([SRE book, chapter 23](https://sre.google/sre-book/managing-critical-state/)).

## RPO and RTO, as the standards define them

### NIST: three numbers, not two

The National Institute of Standards and Technology (NIST) defines the objectives in its contingency planning guide, inside the business impact analysis (BIA) that sets them ([NIST SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems, May 2010, section 3.2.1](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf)):

- **Maximum tolerable downtime (MTD)**: "the total amount of time the system owner/authorizing official is willing to accept for a mission/business process outage or disruption and includes all impact considerations".
- **Recovery time objective (RTO)**: "the maximum amount of time that a system resource can remain unavailable before there is an unacceptable impact on other system resources, supported mission/business processes, and the MTD".
- **Recovery point objective (RPO)**: "the point in time, prior to a disruption or system outage, to which mission/business process data can be recovered (given the most recent backup copy of the data) after an outage".

Two consequences follow in the guide's own words. "Because the RTO must ensure that the MTD is not exceeded, the RTO must normally be shorter than the MTD", since reprocessing data after recovery also takes time; and "Unlike RTO, RPO is not considered as part of MTD. Rather, it is a factor of how much data loss the mission/business process can tolerate during the recovery process" (same section). The guide notes that its first edition called the downtime threshold the maximum allowable outage, and it draws the cost curve that every later document repeats: "the shorter the RTO, the more expensive the recovery solutions cost to implement", from tape backup at one end to mirrored systems at the other (same section, figure 3-3). NIST's online glossary carries the short forms of the same definitions ([NIST CSRC glossary, recovery point objective](https://csrc.nist.gov/glossary/term/recovery_point_objective); [recovery time objective](https://csrc.nist.gov/glossary/term/recovery_time_objective)).

### ISO: the management system and the ICT readiness standard

The International Organization for Standardization (ISO) sets the requirements for a business continuity management system in ISO 22301:2019, the second edition, prepared by its technical committee ISO/TC 292, Security and resilience; its clause 8 holds the business impact analysis (8.2.2), the strategies and solutions (8.3) and an exercise programme (8.5) ([ISO 22301:2019, contents and foreword, preview published by iTeh Standards](https://cdn.standards.iteh.ai/samples/75106/93796e84e77c4ea283721dff7333671e/ISO-22301-2019.pdf)). The vocabulary lives in ISO 22300:2021, the third edition, which ISO's Online Browsing Platform shows in full. Its entry 3.1.202 defines the recovery point objective as the "point to which information used by an activity is restored to enable the activity to operate on resumption", with a note that it "can also be referred to as 'maximum data loss'"; entry 3.1.203 defines the recovery time objective as the "period of time following an incident within which a product and service or an activity is resumed, or resources are recovered", with a note that the RTO is less than the time it would take for the adverse impacts of not providing the product or service, or of not performing the activity, to become unacceptable (cross-references to other entries omitted) ([ISO 22300:2021, Security and resilience: Vocabulary, Online Browsing Platform](https://www.iso.org/obp/ui/#iso:std:iso:22300:ed-3:v1:en)). The Business Continuity Institute (BCI), quoting the RPO definition as "point to which information used by an activity must be restored to enable the activity to operate on resumption", where the 2021 edition reads "is restored", notes how often practice drifts from it, for example a coordinator who sets the RPO from the existing backup interval ([BCI, Reflections on RPOs: how continuity parameters can diverge, 10 December 2024](https://www.thebci.org/news/reflections-on-rpos-how-continuity-parameters-can-diverge.html)).

For the information and communication technology (ICT) side, ISO and the International Electrotechnical Commission (IEC) published ISO/IEC 27031:2025, the second edition of the standard on ICT readiness for business continuity, in May 2025, cancelling the 2011 edition ([ISO/IEC 27031:2025, preview published by VDE Verlag](https://www.vde-verlag.de/iec-normen/preview-pdf/info_isoiec27031%7Bed2.0%7Den.pdf)). Its scope says that it "serves the following business continuity objectives for ICT": the minimum business continuity objective (MBCO), the RPO and the RTO; it takes its terms from ISO 22300 and ISO 22301; and its contents include a clause on "Equipment redundancy planning" (8.1.6), one on "Determining target ICT RTO and RPO" (8.2) and an annex comparing the two objectives to business objectives (annex A) (same preview).

### The cloud providers' definitions, side by side

| Document | RTO | RPO |
|---|---|---|
| [AWS Well-Architected, Disaster Recovery objectives](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/disaster-recovery-dr-objectives.html) | "the maximum acceptable delay between the interruption of service and restoration of service" | "the maximum acceptable amount of time since the last data recovery point" |
| [Google Cloud, Disaster recovery planning guide, last updated 5 July 2024](https://cloud.google.com/architecture/dr-scenarios-planning-guide) | "the maximum acceptable length of time that your application can be offline" | "the maximum acceptable length of time during which data might be lost from your application due to a major incident" |
| [Microsoft Learn, Business continuity, high availability and disaster recovery, updated 1 June 2026](https://learn.microsoft.com/en-us/azure/reliability/concept-business-continuity-high-availability-disaster-recovery) | "the maximum duration of acceptable downtime in the event of a disaster, where "downtime" is defined by your specification" | "the maximum duration of acceptable data loss in the event of a disaster" |

Each adds a caution worth keeping. Amazon Web Services (AWS) separates the objective from the statistic: RTO "is similar to MTTR (Mean Time to Recovery)", but the mean time to recovery "is a mean value taken over several availability impacting events over a period of time, while RTO is a target, or maximum value allowed, for a single availability impacting event" ([AWS, Disaster Recovery objectives](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/disaster-recovery-dr-objectives.html)). Google notes that the RPO "describes only the length of time; it doesn't address the amount or quality of the data that's lost", and that "RTOs and RPOs are measurable and should be considered SLOs", service level objectives ([Google Cloud, DR planning guide](https://cloud.google.com/architecture/dr-scenarios-planning-guide)). Microsoft warns that "While it's tempting to aim for an RTO and RPO of zero (no downtime and no data loss in the event of a disaster), in practice it's difficult and costly to implement" ([Microsoft Learn, as above](https://learn.microsoft.com/en-us/azure/reliability/concept-business-continuity-high-availability-disaster-recovery)). The AWS reliability pillar from which the definitions come is itself marked "for historical reference only", its guidance now living in the Well-Architected Framework, which keeps the same best practice, REL13-BP01, define recovery objectives for downtime and data loss ([AWS Well-Architected Framework, REL13-BP01](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel13-bp01.html)).

### The regulators

The European Union's Digital Operational Resilience Act, Regulation (EU) 2022/2554 of 14 December 2022, applicable from 17 January 2025, writes the objectives into law for financial entities: "In determining the recovery time and recovery point objectives for each function, financial entities shall take into account whether it is a critical or important function and the potential overall impact on market efficiency" (article 12(6)); restores from backup must run on "ICT systems that are physically and logically segregated from the source ICT system" (article 12(3)); and central securities depositories must keep a secondary processing site "located at a geographical distance from the primary processing site to ensure that it bears a distinct risk profile" (article 12(5)) ([Regulation (EU) 2022/2554, EUR-Lex](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32022R2554)).

Brazil's National Monetary Council (Conselho Monetário Nacional, CMN) does the same through the Banco Central do Brasil (BCB). Resolution CMN 4.557 of 23 February 2017 requires the business continuity policies of the larger institutions to include a business impact analysis, strategies, and "business continuity plans that establish procedures and estimated times for restarting and recovering activities in the event of an interruption of critical business processes" (our translation here and below), with "tests and reviews of the business continuity plans at suitable intervals" (article 20) ([BCB, Resolução CMN nº 4.557, consolidated version](https://normativos.bcb.gov.br/Lists/Normativos/Attachments/50344/Res_4557_v13_P.pdf)). Resolution CMN 4.893 of 26 February 2021, on cyber security and on contracting data processing, storage and cloud services, adds to the same policies the procedures for the interruption of contracted cloud services, "covering scenarios that consider the replacement of the contracted company and the re-establishment of the institution's normal operation" (article 19), and "the time set for restarting or normalizing its activities" (article 20) ([BCB, Resolução CMN nº 4.893, as amended up to Resolução CMN nº 5.274 of 18 December 2025](https://www.bcb.gov.br/api/conteudo/app/normativos/exibenormativo?p1=Resolu%C3%A7%C3%A3o%20CMN&p2=4893)). Neither resolution uses the English acronyms; both require the thing they name.

### Turning objectives into numbers, worked

An RTO is a budget that detection and decision spend before any failover begins. AWS's disaster recovery whitepaper puts it in one sentence: "If your recovery time objective is one hour, then you need to detect the incident, notify appropriate personnel, engage your escalation processes, evaluate information (if you have any) on expected time to recovery (without executing the DR plan), declare a disaster and recover within an hour" ([AWS, Disaster Recovery of Workloads on AWS, Detection](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/detection.html)). With illustrative times of 5 minutes to detect, 10 to page and escalate and 15 to assess and declare, a one-hour RTO leaves 30 minutes for the technical recovery itself. The same page adds the uncomfortable corollary: "If stakeholders decide not to invoke DR even though the RTO would be at risk, then re-evaluate DR plans and objectives" (same page).

An RPO is bounded by the interval between recovery points. Google's architecture framework gives the rule directly, "if your RPO is 15 minutes, schedule backups to run at least every 15 minutes", and recommends alerting when backup intervals exceed it ([Google Cloud Well-Architected Framework, Perform testing for recovery from data loss, last updated 27 October 2026](https://cloud.google.com/architecture/framework/reliability/perform-testing-for-recovery-from-data-loss)). A nightly backup at 01:00 and a failure at 23:30 lose 22 hours 30 minutes; transaction-log backups every 5 to 10 minutes, which is the schedule Azure SQL Database publishes alongside weekly full and 12- or 24-hourly differential backups and up to 35 days of point-in-time restore ([Microsoft Learn, Azure SQL business continuity](https://learn.microsoft.com/en-us/azure/azure-sql/database/business-continuity-high-availability-disaster-recover-hadr-overview)), lose at most the minutes since the last log backup. Replication sets the RPO only for the failures it survives; for the failures it copies, the backup interval sets it, which is the next section.

## Backups are not replicas

A replica protects against the loss of a machine, a building or a region. It does not protect against a write that should never have happened, because it copies the write. AWS says so in the section of its whitepaper titled "High availability is not disaster recovery": with continuous replication, "If a file or files are deleted or corrupted on the primary storage device, those destructive changes can be replicated to the secondary storage device", so "a point-in-time backup is also required as part of a DR strategy" ([AWS, Disaster Recovery of Workloads on AWS, High availability is not disaster recovery](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/high-availability-is-not-disaster-recovery.html)). The current framework repeats it as a rule: "Replication alone does not make a workload recoverable. Continuous replication copies corruption and deletion to the recovery site as faithfully as it copies good data" ([AWS Well-Architected Framework, REL13-BP02](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel13-bp02.html)).

Google's data integrity chapter is the longest treatment by an operator. It starts from restores, not backups: "No one really wants to make backups; what people really want are restores", and sets the principle in italics, that "replication and redundancy are not recoverability" ([Google SRE book, chapter 26, Data Integrity: What You Read Is What You Wrote](https://sre.google/sre-book/data-integrity/)). It calls the reply that replication is "something even better than a backup" a "classic but flawed response", and explains why it fails: "Datastores that automatically sync multiple replicas guarantee that a corrupt database row or errant delete are pushed to all of your copies, likely before you can isolate the problem" (same chapter). Its analysis of 19 data recovery efforts found the most common user-visible losses were deletions or broken referential integrity caused by software bugs, the hardest ones being low-grade corruption discovered "weeks to months after the bugs were first released", which is why Google keeps backups for between 30 and 90 days for many services (same chapter).

The chapter also gives the timing that sets an RPO in practice. "At the database level, a transaction may take on the order of seconds to replicate. Exporting a database snapshot to the filesystem underneath may take 40 minutes. A full backup of the underlying filesystem may take hours", so the deeper and safer the copy, the older it is, and "restoring probably takes as long as backing up" (same chapter). Its defence is layered: soft deletion first, so that deleted data stays recoverable for a period; backups second; and replication of the backups themselves, with a warning not to rely on "an infrequently used scheme whose only "tests" of efficacy are your own infrequent data recovery attempts" (same chapter). Diversity runs through all of it: "protecting against a failure at layer X requires storing data on diverse components at that layer" (same chapter).

Two existing articles take the backup side further and are not repeated here: [Backups: the control that has to work when every other one has failed](https://ronutz.com/en/learn/backups-and-ransomware-recovery) covers immutability, retention against attacker dwell time and the 3-2-1 rule, and [The STJ attack, 2020](https://ronutz.com/en/learn/the-stj-ransomware-attack) tells how ransomware stopped Brazil's Superior Court of Justice for a fortnight. The case below shows every layer of the argument failing in one night.

### Case: GitLab, 31 January 2017

GitLab's post-mortem, published on 10 February 2017, begins with its database design: "GitLab.com currently uses a single primary and a single secondary in hot-standby mode. The standby is only used for failover purposes" ([GitLab, Postmortem of database outage of January 31, 10 February 2017](https://about.gitlab.com/blog/postmortem-of-database-outage-of-january-31/)). Under a spike in load, the secondary's replication fell behind until "WAL segments needed by the secondary were already removed from the primary", and since GitLab was not archiving WAL, the secondary had to be rebuilt by hand: wipe its data directory and copy the database again (same report). During that work an engineer ran the wipe on the wrong host: "Unfortunately this process was executed on the primary instead", and "around 300 GB of data had already been removed" before the command was stopped (same report).

The report then lists the five recovery mechanisms in place and what each turned out to be:

| Mechanism | What it was for | What it delivered on the night |
|---|---|---|
| Daily `pg_dump` uploaded to Amazon Simple Storage Service (S3) | Backup | "The S3 bucket was empty": the job ran PostgreSQL 9.2 tools against a 9.6 database and failed, and the emails reporting the failure were rejected by the receiving mail server |
| Daily [Logical Volume Manager](https://man7.org/linux/man-pages/man8/lvm.8.html) (LVM) snapshot, at 01:00 | Refreshing the staging environment | Available, almost 24 hours old |
| Azure disk snapshots | Whole-disk recovery | Not enabled for the database servers |
| Replication to the secondary | "primarily used for failover purposes and not for disaster recovery" | Already wiped as part of the repair |
| An extra LVM snapshot taken by hand at 17:20 | A more recent copy for load tests in staging | The copy that was used, about six hours old |

Recovery restored the 17:20 snapshot, the only alternative being to lose almost 24 hours; copying it from the slow staging disks "took around 18 hours" at about 60 Mbit/s, and the site came back on 1 February with the database as it stood at 17:20 the day before (same report). At 60 Mbit/s, 18 hours move about 486 GB, which is why the restore path's throughput is part of the RTO, not a detail. The lost window was database changes from 17:20 to the deletion, which the report gives as ending at 23:30 in one place and at 00:00 in another, six hours and ten or forty minutes: an RPO set, in effect, by a snapshot made for another purpose. The report estimates "at least 5000 projects, 5000 comments, and roughly 700 users" lost (same report).

Its five-whys analysis ends on ownership, not technology: "Why was the backup procedure not tested on a regular basis? - Because there was no ownership, as a result nobody was responsible for testing this procedure", and the email problem meant "we were never aware of the backups failing, until it was too late" (same report). Among the remedies GitLab listed were hourly LVM snapshots, point-in-time recovery with continuous WAL archiving, monitoring for backups and "Automated testing of recovering PostgreSQL database backups" (same report). [Part 10](https://ronutz.com/en/learn/testing-redundancy-failure-drills-chaos-and-the-failover-never-tried) takes up the testing half.

## Multi-site and multi-region designs, from the providers' documents

### Four strategies, priced in RPO and RTO

AWS publishes four disaster recovery strategies "in increasing order of cost and decreasing order of RTO and RPO" ([AWS Well-Architected Framework, REL13-BP02, Use defined recovery strategies to meet the recovery objectives](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel13-bp02.html)):

| Strategy | What runs at the recovery site | RPO, as AWS states it | RTO, as AWS states it |
|---|---|---|---|
| Backup and restore | Data and applications copied; rebuilt on demand | Hours | Up to a day |
| Pilot light | Core data replicated and always on; compute dormant | Minutes | Tens of minutes |
| Warm standby | A scaled-down but fully functional copy, scaled up on failover | Seconds | Minutes |
| Multi-site active-active | Live traffic served from more than one Region | Towards zero | Towards zero |

The same page names the step between the last two: "When a warm standby is fully scaled and serving full production load, it becomes hot standby", and it advises against choosing a strategy "more stringent than the business requires" (same page). NIST's guide uses the older vocabulary of sites: cold sites with space, power and connections; warm sites "partially equipped"; hot sites "appropriately sized to support system requirements and configured with the necessary system hardware, supporting infrastructure, and support personnel" ([NIST SP 800-34 Rev. 1, section 3.4.3](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf)). The [hot, warm and cold standby](https://ronutz.com/en/glossary/hot-warm-cold-standby) entry maps the two.

### Zones, regions and the correlated failure between them

Google publishes availability design goals for its two scopes: 99.9% for zonal resources such as a Compute Engine virtual machine and its persistent disk, 99.99% for regional resources such as regional Cloud Storage or replicated persistent disks, with the caution that these are design guidelines rather than commitments ([Google Cloud, Architecting disaster recovery for cloud infrastructure outages](https://cloud.google.com/architecture/disaster-recovery)). Zones are "designed to minimize the risk of correlated failures", but "multiple zones will eventually still experience a correlated outage at some point within a single region", and at 99.99% a regional product "can still translate to nearly an hour of downtime" a year, which is when a multi-region plan is needed (same page). Spanner's multi-region configurations compose regions to reach 99.999% (same page). [Part 2](https://ronutz.com/en/learn/the-arithmetic-of-redundancy-availability-mtbf-and-shared-fate) turns these percentages into minutes; the [failure domain](https://ronutz.com/en/learn/redundant-architectures-how-networks-survive-failure) section of the hub lists what each provider says its zones do not share.

### Static stability: capacity held before the failure

A multi-zone design that needs to launch capacity at the moment a zone fails depends on the control plane and on spare capacity "least certain during a large event", in AWS's words; its remedy is static stability: "A statically stable workload behaves the same way whether or not a failure is occurring", with capacity "provisioned before the failure, not requested during it" ([AWS Well-Architected Framework, REL11-BP05, Use static stability to prevent bimodal behavior](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel11-bp05.html)). The page adds two points that belong to data: "Single-zone storage classes are not statically stable", and "A statically stable compute tier in front of a single-zone data store still fails when that zone is lost" (same page). It notes that "With more zones sharing the load, the extra capacity each zone must reserve for static stability shrinks"; the arithmetic is that each of N zones must be able to carry 1/(N−1) of the peak:

| Zones | Each zone sized for | Total provisioned | Utilization in normal operation |
|---|---|---|---|
| 2 | 100% of peak | 200% | 50% |
| 3 | 50% | 150% | 66.7% |
| 4 | 33.3% | 133.3% | 75% |
| 6 | 20% | 120% | 83.3% |

The same reasoning applies to replicas that must absorb reads after losing a peer, which the AWS page names: "Read replica fleets must carry the read load after losing a replica or a primary" (same page). An [application delivery and global load balancing](https://ronutz.com/en/learn/adc-and-gslb-redundancy-health-monitors-pools-and-site-failover) layer moves the traffic; it cannot create the capacity.

## Incidents, from the operators' reports

Each case below rests on the operator's own report; the lesson drawn is the one the report draws or the remedy it commits to. The GitLab case is above, and the hub's outage table already summarizes the 2011 re-mirroring storm in Amazon's Elastic Block Store ([AWS, 29 April 2011](https://aws.amazon.com/message/65648/)), so neither is repeated.

### GitHub, 21 October 2018: a quorum that did what it was configured to do

At 22:52 Coordinated Universal Time (UTC), maintenance on optical equipment cut GitHub's primary US East Coast data centre off from its network hub; "Connectivity between these locations was restored in 43 seconds, but this brief outage triggered a chain of events that led to 24 hours and 11 minutes of service degradation" ([GitHub, October 21 post-incident analysis, 30 October 2018](https://github.blog/news-insights/company-news/oct21-post-incident-analysis/)). GitHub's MySQL clusters were managed by Orchestrator, which "is built on top of Raft for consensus"; during the partition, "The US West Coast data center and US East Coast public cloud Orchestrator nodes were able to establish a quorum and start failing over clusters to direct writes to the US West Coast data center" (same report). The East Coast databases held a few seconds of writes that had not reached the West: "Because the database clusters in both data centers now contained writes that were not present in the other data center, we were unable to fail the primary back over to the US East Coast data center safely" (same report). For one of the busiest clusters, the unreplicated writes numbered 954.

GitHub put the choice between consistency and availability in so many words: "our strategy was to prioritize data integrity over site usability and time to recovery" (same report). It restored clusters from backups taken every four hours and stored with a public cloud provider; the restore procedure "is tested daily at minimum, so the recovery time frame was well understood, however until this incident we have never needed to fully rebuild an entire cluster from backup" (same report). Replicas then took longer to catch up than estimated, because "the time required for replication to catch up had adhered to a power decay function instead of a linear trajectory" under the morning load (same report). The report puts the cause in the configuration, not the software: "Orchestrator’s actions behaved as configured, despite our application tier being unable to support this topology change", and the first remedy was to stop Orchestrator promoting primaries across regional boundaries (same report).

### Google Cloud, europe-west9, 25 and 26 April 2023: two of three replicas in one building

[Part 3](https://ronutz.com/en/learn/physical-and-power-redundancy-feeds-paths-and-carriers) tells the physical half of this incident, a water leak that reached an uninterruptible power supply room and led to a fire and to a building being powered down on the fire service's order. The data half is a placement error. Google's report states that "Regional Spanner should have had one replica in each of the three buildings in the region. Instead, it had two of its three replicas in two different clusters in the building that was powered down", so when the building went dark at 23:29 US/Pacific, "regional Spanner no longer had quorum, due to a misconfiguration" ([Google Cloud Service Health, Multiple Google Cloud services in the europe-west9-a zone are impacted, incident report, 2023](https://status.cloud.google.com/incidents/dS9ps52MUnxQfyDGPfkY)). That is the second row of the placement table: two of three in one place, one left, no majority.

Everything that depended on regional Spanner followed. Quorum returned at 12:47 the next day, 13 hours 18 minutes after the power-down; the regional Identity and Access Management (IAM) service then stayed offline until 14:42 to resynchronize, because its policies "had received no updates for 13 hours in this region and any security critical updates made by customers during this period would not be available there" (same report). Regional persistent disks, which replicate volumes across zones and keep a lease for each volume in regional Spanner, behaved as designed for a lost lease: 79% of them had one replica in the affected building and, without Spanner, "these volumes could not establish quorum, and therefore became read-only as a failsafe measure" (same report). Google committed to automated tests that critical services "consistently meet our expectations for how they allocate resources within our physical failure domains" (same report). [Part 10](https://ronutz.com/en/learn/testing-redundancy-failure-drills-chaos-and-the-failover-never-tried) returns to that commitment.

### Roblox, 28 to 31 October 2021: a perfect quorum with one shared fate

Roblox's report describes a textbook consensus deployment: in its Consul cluster, five voters "authoritatively hold the state of the cluster" and five non-voters "are read-only replicas that assist with scaling read requests", with leader election and replication by Raft ([Roblox, Roblox Return to Service 10/28-10/31 2021, 20 January 2022](https://blog.roblox.com/2022/01/roblox-return-to-service-10-28-10-31-2021/)). Five voters tolerate two failures. They did not need to fail: a newly enabled streaming feature under very high read and write load caused contention, and a pathology in the BoltDB library that stores Consul's Raft log made each small write rewrite a 7.8 MB free list to disk (same report). Every voter ran the same software under the same load, so the redundancy shared the fault. Replacing hardware with faster machines did not help, nor did restoring the cluster from a snapshot taken at the start of the outage; the service was down for 73 hours (same report).

The report names the single point of failure in plain terms: "In short, the system failed because Consul was a single point of failure, and Consul was not healthy", and "A single Consul cluster supporting multiple workloads exacerbated the impact of these issues" (same report). Its remedies were structural: a geographically distinct second data centre, multiple availability zones, critical services split onto their own Consul clusters, and telemetry that no longer depends on the system it watches (same report). Quorum protects against members failing independently; it says nothing about members failing together.

### Atlassian, 5 to 18 April 2022: the RPO met, the RTO missed

A maintenance script meant to delete one legacy application was given the identifiers of whole customer sites, and between 07:38 and 08:01 UTC on 5 April it deleted 883 sites belonging to 775 customers; some waited up to 14 days for restoration ([Atlassian, Post-Incident Review on the Atlassian April 2022 outage, 29 April 2022](https://www.atlassian.com/engineering/post-incident-review-april-2022-outage)). Atlassian's databases were backed up with full and incremental backups allowing restore to any point within 30 days, and it restored main data stores to five minutes before each deletion: "We met our Recovery Point Objective (RPO) of one hour during this incident", and "no customer lost more than five minutes of data" (same report).

Time was the problem. "During this incident, we missed our RTO but met our RPO", because "At the time of the incident, we did not have the ability to select a large set of customer sites and restore all of their inter-connected products from backups to a previous point in time"; restores had been prepared for infrastructure failures, corruption and single-site deletions (same report). The first method restored a batch in about 48 hours and recovered 112 sites; a second, built during the incident, took about 12 hours per site and recovered the other 771 (same report). Atlassian committed to universal soft deletion and to "regularly run DR exercises that involve restoring all products for a large set of sites" (same report). Backups held the data; nothing held the time.

### B3, 31 July 2026: integrity first, by the operator's choice

Brazil's exchange published its own notice on the day. B3 delayed the start of continuous trading in its markets after "an operational incident in one of its technology components in the post-trade environment"; trading in all assets resumed at 12:30, the standard dollar futures having started at 9:35, and "The main purpose of the measure was to preserve the integrity of the information, the security of the post-trade processes and the proper functioning of the market infrastructure" ([B3, Notice to the Market (in Portuguese), 31 July 2026](https://b3.com.br/pt_br/noticias/aviso-ao-mercado-8AE490C99FB04F9C019FB8F5761A7C81.htm)). Bloomberg Línea reported a week later that the problems had interrupted almost all market data distribution in São Paulo for more than three hours and that it was B3's second large interruption in a year ([Bloomberg Línea, Worst technical failure in its history puts B3's monopoly in the spotlight (in Portuguese), 7 August 2026](https://www.bloomberglinea.com.br/mercados/pior-falha-tecnica-de-sua-historia-coloca-em-evidencia-monopolio-da-b3/)). No technical root-cause report from B3 was found for this article. What the notice shows is the same choice GitHub made in 2018, written by a financial market infrastructure: when the copies may disagree, stop and reconcile before serving. The access side of B3's architecture is in [B3 and electronic access](https://ronutz.com/en/learn/brazil-bmf-bovespa-b3-and-electronic-access).

### The six cases at a glance

| Date | Operator | Redundancy in place | What decided the outcome | Data lost | Time to recover |
|---|---|---|---|---|---|
| 31 January 2017 | GitLab | Primary and hot standby; four recovery procedures and a manual snapshot | Replica wiped during repair; backups failing silently | About six hours of database changes | About 18 hours |
| 21 October 2018 | GitHub | Raft-managed MySQL failover across sites | Quorum promoted the West Coast; seconds of unreplicated East Coast writes | None reported; a few seconds of writes reconciled by hand | 24 hours 11 minutes degraded |
| 28 October 2021 | Roblox | Five-voter Raft cluster | Shared software and load pathology across all voters | No user data lost, per the report | 73 hours |
| 5 April 2022 | Atlassian | Point-in-time backups, multi-zone replication | Restore of many sites at once never automated | At most five minutes | Up to 14 days |
| 25 April 2023 | Google Cloud | Three-building region, three-replica Spanner | Two replicas placed in one building | None; zonal data fully recovered, per the report | 13 hours 18 minutes to quorum |
| 31 July 2026 | B3 | Not described in the notice | Trading held to preserve information integrity | Not stated | Trading resumed at 12:30 |

## Failure modes, and how they are found

| Failure | What gives it away | Where it is documented |
|---|---|---|
| Asynchronous lag grows until failover would lose too much | `write_lag`, `flush_lag` and `replay_lag` in `pg_stat_replication`; Kafka's under-replicated and under-minimum-ISR partition counts | [PostgreSQL 18, pg_stat_replication](https://www.postgresql.org/docs/current/monitoring-stats.html); [Kafka 4.2, Monitoring](https://kafka.apache.org/42/operations/monitoring/) |
| A standby falls so far behind that the primary discards the WAL it needs | Replication error on the standby; GitLab's starting point | [GitLab, 2017](https://about.gitlab.com/blog/postmortem-of-database-outage-of-january-31/); PostgreSQL replication slots keep WAL but can "fill up the space allocated" for it ([PostgreSQL 18, 26.2.6](https://www.postgresql.org/docs/current/warm-standby.html)) |
| Writes stop because the only synchronous standby is down | Commits hang while reads continue | [PostgreSQL 18, 26.2.8.4](https://www.postgresql.org/docs/current/warm-standby.html) |
| Quorum members drift into one failure domain | Placement audit: members per building, zone or region against the majority | [Google Cloud, europe-west9 report](https://status.cloud.google.com/incidents/dS9ps52MUnxQfyDGPfkY) |
| Leader elections flap under a slow disk or long round trips | etcd's warning that the leader "failed to send out heartbeat on time"; frequent leader changes | [etcd FAQ](https://etcd.io/docs/v3.5/faq/); [etcd tuning](https://etcd.io/docs/v3.5/tuning/) |
| Automated failover crosses a boundary the application cannot follow | Primaries in an unexpected site; latency jumps for writes | [GitHub, 2018](https://github.blog/news-insights/company-news/oct21-post-incident-analysis/) |
| Backups fail and nobody hears | No restorable backup newer than the RPO; alert paths that depend on mail or systems under test | [GitLab, 2017](https://about.gitlab.com/blog/postmortem-of-database-outage-of-january-31/); [Google Cloud, monitor backup health](https://cloud.google.com/architecture/framework/reliability/perform-testing-for-recovery-from-data-loss) |
| The restore works for one item and not for many | Timed restores at the scale of the worst case | [Atlassian, 2022](https://www.atlassian.com/engineering/post-incident-review-april-2022-outage) |
| A deletion or corruption replicates everywhere | Integrity checks, soft deletion, point-in-time recovery older than the discovery delay | [Google SRE book, chapter 26](https://sre.google/sre-book/data-integrity/) |

The [change blast-radius mapper](https://ronutz.com/en/tools/change-blast-radius-mapper) structures the question of what a change to a replication or quorum setting reaches, the [incident timeline builder](https://ronutz.com/en/tools/incident-timeline-rca-builder) turns a report like the ones above into a timeline with RPO and RTO marked, and the [time calculator](https://ronutz.com/en/tools/time-calculator) does the duration arithmetic.

## What to remember

- Data redundancy decides three things: how many copies confirm a write, which copies may continue after a failure, and how far back recovery can reach. The first sets the RPO for the failures replication survives; the third sets it for the failures replication copies.
- Synchronous replication costs at least one round trip per commit, 22 serial commits a second per session at a 45 ms round trip, and can stop writes if its only synchronous standby fails; asynchronous replication loses the lag times the write rate.
- A majority of 2f+1 members tolerates f failures; even sizes add cost without tolerance. Two sites cannot keep a majority through the loss of the larger one; a third site or a witness can.
- NIST defines MTD, RTO and RPO and puts RTO inside MTD and RPO outside it; ISO/IEC 27031:2025 and the cloud providers use the same objectives, and DORA and the Banco Central's resolutions require them, under their own words, for financial institutions.
- Replication is not a backup: it copies deletions and corruption. Backups are only as good as a timed restore at the scale of the worst case.
- In the six reports read here, the redundancy usually worked as designed; the outcome was decided by placement, ownership, shared software or the speed of restoring at scale.

<ReaderQuestions>

- GitHub and B3 both stopped serving to protect the consistency of their data. For your own systems, who has the authority to make that call during an incident, and is it written down before the incident?
- A five-member quorum spread 2/2/1 survives the loss of any site. Where would you put the fifth member, and what would it cost you in latency for every write?
- Atlassian met its RPO and missed its RTO by days. Which of your recovery objectives has been measured at the scale of your worst plausible incident, rather than for one system?
- GitLab's backups failed silently because their alerts travelled by email that was being rejected. What would tell you, today, that a backup you rely on stopped working last week?
- Brazil's financial regulation requires estimated restart times and continuity tests without using the acronyms RTO and RPO. Does a regulation that names the objective change how organizations measure it, or only how they report it?

</ReaderQuestions>

## Sources

- [PostgreSQL Global Development Group, PostgreSQL 18 documentation, 26.2 Log-Shipping Standby Servers: 26.2.8 Synchronous Replication, FIRST and ANY, planning for performance and high availability, replication slots (accessed 16 November 2026)](https://www.postgresql.org/docs/current/warm-standby.html)
- [PostgreSQL 18 documentation, 19.5 Write Ahead Log: synchronous_commit and its five values (accessed 16 November 2026)](https://www.postgresql.org/docs/current/runtime-config-wal.html)
- [PostgreSQL 18 documentation, 27.2 The Cumulative Statistics System: pg_stat_replication, write_lag, flush_lag and replay_lag (accessed 16 November 2026)](https://www.postgresql.org/docs/current/monitoring-stats.html)
- [Google, Site Reliability Engineering, chapter 23, Managing Critical State: Distributed Consensus for Reliability: split-brain case study, round-trip times, number and location of replicas, disk-bound throughput, CAP (accessed 16 November 2026)](https://sre.google/sre-book/managing-critical-state/)
- [Microsoft Learn, Azure Well-Architected Framework, Architecture strategies for disaster recovery, updated 19 November 2025: synchronous across zones, asynchronous across regions; definitions (accessed 16 November 2026)](https://learn.microsoft.com/en-us/azure/well-architected/reliability/disaster-recovery)
- [Google Cloud, Architecting disaster recovery for cloud infrastructure outages, last updated 10 May 2024: zonal, regional and multi-regional design goals, correlated zone outages, synchronous against asynchronous replication (accessed 16 November 2026)](https://cloud.google.com/architecture/disaster-recovery)
- [Apache Kafka 4.2 documentation, Design: replication, in-sync replicas, majority vote compared, unclean leader election, availability and durability guarantees (accessed 16 November 2026)](https://kafka.apache.org/42/design/design/)
- [Apache Kafka 4.2 documentation, Monitoring: UnderReplicatedPartitions and UnderMinIsrPartitionCount (accessed 16 November 2026)](https://kafka.apache.org/42/operations/monitoring/)
- [Microsoft Learn, Overview of business continuity with Azure SQL Database, updated 2 April 2026: RTO and RPO per option, backup schedule, point-in-time restore (accessed 16 November 2026)](https://learn.microsoft.com/en-us/azure/azure-sql/database/business-continuity-high-availability-disaster-recover-hadr-overview)
- [Google Cloud, Spanner instance configurations, last updated 12 November 2026: regional write quorum, read-only replicas, dual-region witness replicas, manual and automatic failover times (accessed 16 November 2026)](https://cloud.google.com/spanner/docs/instance-configurations)
- [Michael J. Fischer, Nancy A. Lynch and Michael S. Paterson, Impossibility of Distributed Consensus with One Faulty Process, Journal of the ACM 32, 2, April 1985: abstract (accessed 16 November 2026)](https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf)
- [Leslie Lamport, The Writings of Leslie Lamport: notes on The Part-Time Parliament (ACM Transactions on Computer Systems 16, 2, May 1998) and Paxos Made Simple (accessed 16 November 2026)](https://lamport.azurewebsites.net/pubs/pubs.html)
- [Leslie Lamport, Paxos Made Simple, ACM SIGACT News 32, 4, December 2001: majorities, progress and the distinguished proposer (accessed 16 November 2026)](https://lamport.azurewebsites.net/pubs/paxos-simple.pdf)
- [Diego Ongaro and John Ousterhout, In Search of an Understandable Consensus Algorithm (Extended Version), Stanford University, 2014: sections 5.6 and 9.3, timing and measured election times (accessed 16 November 2026)](https://raft.github.io/raft.pdf)
- [etcd v3.5 documentation, Tuning: heartbeat interval 100 ms and election timeout 1000 ms by default, at least 10 times the round trip, 50 s ceiling (accessed 16 November 2026)](https://etcd.io/docs/v3.5/tuning/)
- [etcd v3.5 documentation, Frequently Asked Questions: odd cluster sizes, fault tolerance table, maximum size, quorum loss, slow-disk heartbeat warnings (accessed 16 November 2026)](https://etcd.io/docs/v3.5/faq/)
- [MongoDB manual, Replica Set Elections: heartbeats every two seconds, 10-second election timeout, median election time (accessed 16 November 2026)](https://www.mongodb.com/docs/manual/core/replica-set-elections/)
- [Microsoft Learn, Understand cluster and pool quorum, updated 12 February 2025: more than half the nodes, witness recommendations by cluster size, dynamic witness (accessed 16 November 2026)](https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/quorum)
- [Giuseppe DeCandia and others, Dynamo: Amazon's Highly Available Key-value Store, SOSP 2007: R + W > N, (3,2,2), sloppy quorum and hinted handoff (accessed 16 November 2026)](https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf)
- [Apache Cassandra documentation, Dynamo: techniques taken from Dynamo, consistency levels and quorum overlap (accessed 16 November 2026)](https://cassandra.apache.org/doc/latest/cassandra/architecture/dynamo.html)
- [Seth Gilbert and Nancy A. Lynch, Perspectives on the CAP Theorem, 2012, author's copy at MIT: safety, liveness and CAP; reference 16, their 2002 SIGACT News proof (accessed 16 November 2026)](https://groups.csail.mit.edu/tds/papers/Gilbert/Brewer2.pdf)
- [Daniel J. Abadi, Consistency Tradeoffs in Modern Distributed Database System Design, IEEE Computer, February 2012: CAP for failures, the consistency and latency trade, PACELC (accessed 16 November 2026)](https://www.cs.umd.edu/~abadi/papers/abadi-pacelc.pdf)
- [NIST, SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems, May 2010: section 3.2.1, MTD, RTO and RPO, cost balancing; section 3.4.3, alternate sites (accessed 16 November 2026)](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf)
- [NIST Computer Security Resource Center, Glossary, recovery point objective, from SP 800-34 Rev. 1 (accessed 16 November 2026)](https://csrc.nist.gov/glossary/term/recovery_point_objective)
- [NIST Computer Security Resource Center, Glossary, recovery time objective, from SP 800-34 Rev. 1 (accessed 16 November 2026)](https://csrc.nist.gov/glossary/term/recovery_time_objective)
- [ISO 22301:2019, Security and resilience: Business continuity management systems: Requirements, second edition, ISO/TC 292: contents and foreword, preview published by iTeh Standards (accessed 16 November 2026)](https://cdn.standards.iteh.ai/samples/75106/93796e84e77c4ea283721dff7333671e/ISO-22301-2019.pdf)
- [ISO 22300:2021, Security and resilience: Vocabulary, third edition, ISO Online Browsing Platform: entries 3.1.202, recovery point objective, and 3.1.203, recovery time objective, with their notes (accessed 16 November 2026)](https://www.iso.org/obp/ui/#iso:std:iso:22300:ed-3:v1:en)
- [Business Continuity Institute, Ondrej Bos, Reflections on RPOs: how continuity parameters can diverge, 10 December 2024: the ISO 22300 definition of RPO as quoted (accessed 16 November 2026)](https://www.thebci.org/news/reflections-on-rpos-how-continuity-parameters-can-diverge.html)
- [ISO/IEC 27031:2025, Cybersecurity: Information and communication technology readiness for business continuity, second edition, May 2025: foreword, scope, normative references and contents, preview published by VDE Verlag (accessed 16 November 2026)](https://www.vde-verlag.de/iec-normen/preview-pdf/info_isoiec27031%7Bed2.0%7Den.pdf)
- [Amazon Web Services, AWS Well-Architected, Reliability Pillar, Disaster Recovery (DR) objectives, marked for historical reference: RTO, RPO and MTTR (accessed 16 November 2026)](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/disaster-recovery-dr-objectives.html)
- [Amazon Web Services, AWS Well-Architected Framework, REL13-BP01, Define recovery objectives for downtime and data loss (accessed 16 November 2026)](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel13-bp01.html)
- [Amazon Web Services, AWS Well-Architected Framework, REL13-BP02, Use defined recovery strategies to meet the recovery objectives: four strategies with RPO and RTO, replication alone does not make a workload recoverable (accessed 16 November 2026)](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel13-bp02.html)
- [Amazon Web Services, AWS Well-Architected Framework, REL11-BP05, Use static stability to prevent bimodal behavior (accessed 16 November 2026)](https://docs.aws.amazon.com/wellarchitected/latest/framework/rel11-bp05.html)
- [Amazon Web Services, Disaster Recovery of Workloads on AWS: Recovery in the Cloud, High availability is not disaster recovery (accessed 16 November 2026)](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/high-availability-is-not-disaster-recovery.html)
- [Amazon Web Services, Disaster Recovery of Workloads on AWS: Recovery in the Cloud, Detection: the one-hour RTO budget (accessed 16 November 2026)](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/detection.html)
- [Google Cloud, Disaster recovery planning guide, last updated 5 July 2024: RTO, RPO, SLOs (accessed 16 November 2026)](https://cloud.google.com/architecture/dr-scenarios-planning-guide)
- [Google Cloud Well-Architected Framework, Perform testing for recovery from data loss, last updated 27 October 2026: backup frequency against RPO, backup health (accessed 16 November 2026)](https://cloud.google.com/architecture/framework/reliability/perform-testing-for-recovery-from-data-loss)
- [Microsoft Learn, Business continuity, high availability, and disaster recovery, updated 1 June 2026: RPO and RTO defined, the cost of zero (accessed 16 November 2026)](https://learn.microsoft.com/en-us/azure/reliability/concept-business-continuity-high-availability-disaster-recovery)
- [European Union, Regulation (EU) 2022/2554 on digital operational resilience for the financial sector (DORA), 14 December 2022, EUR-Lex: article 12, backup, restoration, redundant capacity, recovery objectives (accessed 16 November 2026)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32022R2554)
- [Banco Central do Brasil, Resolução CMN nº 4.557, de 23 de fevereiro de 2017, consolidated version: article 20, business continuity management (accessed 16 November 2026)](https://normativos.bcb.gov.br/Lists/Normativos/Attachments/50344/Res_4557_v13_P.pdf)
- [Banco Central do Brasil, Resolução CMN nº 4.893, de 26 de fevereiro de 2021, text as amended by Resolução CMN nº 5.274 of 18 December 2025: articles 8, 19 and 20 (accessed 16 November 2026)](https://www.bcb.gov.br/api/conteudo/app/normativos/exibenormativo?p1=Resolu%C3%A7%C3%A3o%20CMN&p2=4893)
- [Google, Site Reliability Engineering, chapter 26, Data Integrity: What You Read Is What You Wrote: restores, replication is not recoverability, 19 recovery efforts, layers of defence (accessed 16 November 2026)](https://sre.google/sre-book/data-integrity/)
- [GitLab, Postmortem of database outage of January 31, 10 February 2017 (accessed 16 November 2026)](https://about.gitlab.com/blog/postmortem-of-database-outage-of-january-31/)
- [Linux man-pages project, lvm(8): the Logical Volume Manager (accessed 16 November 2026)](https://man7.org/linux/man-pages/man8/lvm.8.html)
- [GitHub, Jason Warner, October 21 post-incident analysis, 30 October 2018 (accessed 16 November 2026)](https://github.blog/news-insights/company-news/oct21-post-incident-analysis/)
- [Google Cloud Service Health, Multiple Google Cloud services in the europe-west9-a zone are impacted, incident report, April 2023: regional Spanner quorum, IAM, regional persistent disk (accessed 16 November 2026)](https://status.cloud.google.com/incidents/dS9ps52MUnxQfyDGPfkY)
- [Roblox, Roblox Return to Service 10/28-10/31 2021, 20 January 2022 (accessed 16 November 2026)](https://blog.roblox.com/2022/01/roblox-return-to-service-10-28-10-31-2021/)
- [Atlassian, Post-Incident Review on the Atlassian April 2022 outage, 29 April 2022 (accessed 16 November 2026)](https://www.atlassian.com/engineering/post-incident-review-april-2022-outage)
- [B3, Aviso ao Mercado, 31 July 2026: trading postponed after an incident in the post-trade environment (accessed 16 November 2026)](https://b3.com.br/pt_br/noticias/aviso-ao-mercado-8AE490C99FB04F9C019FB8F5761A7C81.htm)
- [Bloomberg Línea, Pior falha técnica de sua história coloca em evidência monopólio da B3, 7 August 2026 (accessed 16 November 2026)](https://www.bloomberglinea.com.br/mercados/pior-falha-tecnica-de-sua-historia-coloca-em-evidencia-monopolio-da-b3/)
- [Amazon Web Services, Summary of the Amazon EC2 and Amazon RDS Service Disruption in the US East Region, 29 April 2011 (accessed 16 November 2026)](https://aws.amazon.com/message/65648/)
