Consistency: what does “up to date” mean?
A clear path through replicas, delay, and the promises an application can make.
Community contributor12 min readQuick checkSources
When data is copied across machines, updates take time to travel. During that interval, two readers can see different values even though both are talking to healthy systems.
Consistency is a promise about observations
Strong consistency can make a read behave as if it happened after the latest completed write. Eventual consistency allows a delay but promises that replicas converge if updates stop. Neither phrase says whether the product feels correct; that depends on what a user needs to see.
Quick check
A profile photo can take a few seconds to appear on every device. Which consistency model may be acceptable?
Show answerHide answer
Eventual consistency may be acceptable if the system converges quickly and the user can still see their own upload on the device they used.