Chain replication
Chain replication orders replicas so that updates enter at a head, propagate along the chain and complete at a tail that also serves queries.
The original OSDI 2004 protocol assumes fail-stop servers and reliable FIFO links. With an object on t servers, up to t-1 of them can fail without compromising availability. A master changes membership, and the prototype replicates that master using Paxos. These are protocol assumptions, not arbitrary-partition availability or multi-object transaction guarantees. [1]
In the paper's simulation with 1 ms per message, an update on a three-server chain takes 94 ms against 7 ms for a query. A tail failure makes processing unavailable for 2 message delivery delays, against 5 for a primary failure under primary/backup. [1]
CRAQ extends this design by letting any node answer reads of clean object versions, so the original tail-only rule is not universal across chain-based protocols. [3]
Relations
- related
- Synchronous replication, Linearizability, Peering (Ceph), CRAQ, Read-your-writes, Assise, CORFU, Replex, Chained declustering
Advantages
- The head computes each update once and forwards the resulting state, so other replicas only apply writes and the update itself may be non-deterministic. [1]
Limitations
- In the original design every query goes to the tail, so adding replicas increases failure tolerance without adding query-serving nodes. [1]
Citations
- Robbert van Renesse and Fred B. Schneider: Chain Replication, OSDI 2004, pp. 91-104
- Jeff Terrace and Michael J. Freedman: Object Storage on CRAQ, USENIX ATC 2009
Further reading
Sources & caveats
- chain-paper re-read 2026-10-23 for the fail-stop model, t-1 tolerance, the section 5.1 simulation latencies and the outage comparison. craq-paper re-read for clean-version reads.
- A companion analysis on replication acknowledgements is listed but not used in prose.
- The read-your-writes entry links here because a reply comes from the tail, which also serves queries, so a client's later query reflects its acknowledged update. read-your-writes is added to related for the reciprocal relation.