All lessons in Software Engineering: Programs, Systems, and Maintainable Software
Replication and Consistency Guarantees
Distinguish replica visibility, quorum intersection, and linearizable decisions.
45 minutes · Members lesson · preview
What you will learn
- Distinguish replication from a guarantee about which version a read observes.
- Explain why quorum intersection alone does not prove linearizability.
- Identify which operation needs a single authoritative decision during a partition.
A library has a primary database and a read replica. A returned loan is committed at the primary, but a report immediately read from the replica still shows the loan as active. The data may be replicating correctly under an asynchronous design; the application has asked for a freshness guarantee that the read path does not provide.
Replication copies data for availability, scale, or recovery goals. Consistency describes constraints on observations and ordering. One does not automatically establish the other.