5 questions to test your understanding
A leaderless replication system has N = 5 nodes. An engineer sets a write quorum of W = 2 and a read quorum of R = 2. What is the fundamental problem with this configuration?
A company uses multi-leader replication so users in the US and Europe can write to their nearest datacenter without cross-continental round trips. A US user and a European user simultaneously update the same product's inventory count. What problem must this system handle that primary-backup replication avoids?
In a leaderless replication system, setting W + R > N guarantees that at least one node participating in any successful read has seen the most recent successful write.
Primary-backup replication offers higher availability than leaderless replication because a single authoritative primary eliminates conflicting writes and ensures correct behavior during node failures.
Why does stronger consistency in a replicated system typically require giving up some availability or accepting higher write latency? Explain the underlying coordination cost.