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.

Keeping CALM: When Distributed Consistency Is Easy

101 pointsby fofozover 4 years ago

4 comments

lukevpover 4 years ago
This is great stuff, will need time to read it and digest. I feel that CRDTs are something that should have been invented much earlier than 2011. Formalizing the conversation around what the base level assumptions are that are necessary to build these systems is really exciting. I have a conceptual understanding of the implications of distributing state and coordination of changes on that state, but it’s so much easier for us all to get things right when there’s best practices and understanding around these concepts. It’s kind of like how Raft made an easy to understand and include consensus library, or Yjs the same for CRDTs, or libsodium makes it easy(er) to do security correctly. It helps us develop the native units of computing for distributed systems, in the “geographically distinct edge computing sense” and not in the “a bunch of nodes with fast interconnects” sense, where offline is common and coordination has major performance implications to UIs.
SmooLover 4 years ago
I find the similarities &amp; diffferences interesting between this and CRDTs.<p>This seems to be saying that any algorithm with a monotonic output with respect to input information &quot;has a consistent, coordination-free distributed implementation&quot;.<p>As I understand it, for data to be monotonic requires that the data is partially orderable.<p>CRDTs require partial ordering, as well as a merge() function so as to create a lattice.<p>This seems then that CRDT&#x27;s have stronger requirements - this seems to make sense, since CRDT&#x27;s are about sharing data, whereas this CALM theory is only talking about making a local decision.
评论 #24281432 未加载
viveksethover 4 years ago
Another related conversation when this was discussed on The Morning Paper: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19316737" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19316737</a>
j-pbover 4 years ago
So basically every system wich allows you to &#x27;delete&#x27; stuff, instead of &#x27;forgetting&#x27; it has it (distributed state) wrong.<p>Good thing, that that&#x27;s not every database ever <i>cough</i>
评论 #24278636 未加载