शब्दकोश · डेटाबेस

Eventual Consistency

Eventual consistency is a model where replicas may briefly return different data after a write but converge to the same value if no further updates occur.

अपडेट: अक्टूबर 6, 2026

Eventual consistency is a consistency model in which updates propagate to all replicas over time, so reads may briefly return stale data, but all replicas converge on the same value once updates stop.

Why it matters

It lets distributed systems stay fast and available across regions, because writes do not wait for every copy to confirm. DNS is a familiar example: a changed record spreads as caches expire. The cost is that applications must tolerate stale reads and sometimes resolve conflicting writes, using techniques such as last-write-wins or version vectors.

Example

t0  write x=2 on node A
t1  read x on node B -> 1   (stale)
t2  replication arrives at B
t3  read x on node B -> 2   (converged)

Common mistakes

  • Showing users stale data after their own save, without read-your-writes handling.
  • Assuming last-write-wins is safe when clocks across servers are not perfectly in sync.
  • Applying it to data that needs strict correctness, such as account balances.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.