TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What's the difference between CRDT vs. Eventual Consistency?

3 pointsby KiranRao0almost 4 years ago
Hi HN, I&#x27;ve seen several articles about CRDTs [1] lately and I don&#x27;t fully understand how they&#x27;re different from the concept of eventual consistency [2] in distributed computing.<p>[1]: https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Conflict-free_replicated_data_type<p>[2]: https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Eventual_consistency

1 comment

jkaalmost 4 years ago
Yep, they&#x27;re closely related. Here&#x27;s my attempt to distinguish the ideas, let me know whether this makes sense:<p>Eventual Consistency is a property that can be used to describe a datastore or an individual datastructure.<p>So we could say that, for example, &quot;Cassandra is an eventually-consistent database&quot;, or that &quot;the Elasticsearch cluster is eventually-consistent&quot;.<p>One of the core features of CRDTs is that they are, by design, always eventually consistent.<p>That&#x27;s useful since it allows CRDTs to be used in environments where peers may temporarily go offline, and would like to catch up with other peer changes (and share their own) - eventually - when they are back online.
评论 #28028473 未加载