Skip to content

3.2. Replication Strategies

Replication keeps copies of data on multiple nodes — the only way to survive a machine loss and the only way to scale reads beyond one server. But the instant you have more than one copy, you inherit the problem of keeping them agreed, and the network guarantees you will not always succeed. This chapter covers the three replication topologies (single-leader, multi-leader, leaderless), the split-brain risk that failover creates, replication lag and the anomalies it produces, and the anti-entropy mechanisms that let divergent replicas heal.