-
When Two Kings Claim the Throne: Consistency in Distributed Systems
Truth becomes complicated when the kingdom keeps more than one copy of it. When One Truth Becomes Many: Distributed Systems The Kingdom Keeps Copies for a Reason: Distributed Data and Replication In a small application, truth appears simple. A user changes an email address, the application saves it, and the next request retrieves the same value. One database, one authoritative record, and usually one short path between the person making the change and the system storing it. Distributed systems complicate that arrangement. Data may be copied across regions, databases, caches, queues, search indexes, and services. Replication improves availability and performance, but it also creates a difficult question: when several systems…


