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.

Faster CRDTs (2021)

326 pointsby bpierre9 months ago

13 comments

pjz9 months ago
&gt; And why 32 entries? I ran this benchmark with a bunch of different bucket sizes and 32 worked well. I have no idea why that worked out to be the best.<p>If you were using 2-byte ints, this is likely because cache lines are 64 bytes, so 32 entries would be exactly one cache line, letting each cache line hold an entire bucket, thus reducing those expensive main memory transfers.
评论 #41380882 未加载
评论 #41375060 未加载
jzelinskie9 months ago
What are some real world apps using CRDTs that have really good experiences?<p>IIRC Notion was supposed to be one of them but realistically taking notes with two people in Notion is almost unusable compared to Google Docs.
评论 #41374429 未加载
评论 #41374248 未加载
评论 #41374385 未加载
评论 #41374556 未加载
评论 #41376804 未加载
评论 #41379354 未加载
评论 #41373910 未加载
评论 #41376029 未加载
评论 #41373765 未加载
评论 #41373769 未加载
评论 #41377577 未加载
评论 #41383042 未加载
评论 #41379225 未加载
评论 #41376829 未加载
评论 #41375700 未加载
评论 #41373938 未加载
评论 #41375382 未加载
评论 #41379390 未加载
评论 #41373866 未加载
felipefar9 months ago
CRDTs are powerful, but it&#x27;s unfortunate that they leave behind a trail of historical operations (or elements), both in their ops- or state-based variants. Even with compression, it&#x27;s still a downside that makes me concerned about adopting them.<p>Even so, the discussion surrounding them made me excited by the possibility of implementing conflict-free (or fine-grained conflict resolution) algorithms over file-based storage providers (Dropbox, Syncthing, etc.).
评论 #41376914 未加载
评论 #41374864 未加载
评论 #41375184 未加载
评论 #41375730 未加载
评论 #41375774 未加载
IshKebab9 months ago
(2021) and Automerge&#x27;s Rust implementation seems to have landed so it would be interesting to see an updated benchmark.
评论 #41374140 未加载
kmoser9 months ago
This is one of those rare articles which, although much of the material is over my head, I couldn&#x27;t stop reading because it&#x27;s written so well.
评论 #41376883 未加载
kirubakaran9 months ago
- <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28017204">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28017204</a> (3 years ago, 151 comments)<p>- <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33903563">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33903563</a> (2 years ago, 22 comments)<p>- <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41372833">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41372833</a> (this post)<p>- <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41373288">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41373288</a> (this comment)
评论 #41374117 未加载
评论 #41373673 未加载
riedel9 months ago
Quoting the current github Readme [0]: &gt;And since that blog post came out, performance has increased another 10-80x (!).<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;josephg&#x2F;diamond-types">https:&#x2F;&#x2F;github.com&#x2F;josephg&#x2F;diamond-types</a>
EGreg9 months ago
Can someone explain to me please why CRDTs are slow?<p>This article suggests the future to me: <a href="https:&#x2F;&#x2F;joelgustafson.com&#x2F;posts&#x2F;2023-05-04&#x2F;merklizing-the-key-value-store-for-fun-and-profit" rel="nofollow">https:&#x2F;&#x2F;joelgustafson.com&#x2F;posts&#x2F;2023-05-04&#x2F;merklizing-the-ke...</a><p>Take a look at this and compare it to Y.js or automerge: <a href="https:&#x2F;&#x2F;github.com&#x2F;canvasxyz&#x2F;okra-js">https:&#x2F;&#x2F;github.com&#x2F;canvasxyz&#x2F;okra-js</a>
评论 #41376935 未加载
fredrikholm9 months ago
I remember stumbling over this post a few years ago. Really entertaining post, one of my favorites in recent years.
评论 #41373215 未加载
ericyd9 months ago
&gt; Why is WASM 4x slower than native execution?<p>I thought it was because every string operation had to be copied into WASM memory and then back into JS when the result was computed. Am I wrong? Am I misunderstanding the context? Genuinely curious!
评论 #41374360 未加载
评论 #41374301 未加载
评论 #41377610 未加载
arkh9 months ago
Seeing the hierarchical structure used I wonder if they tried using nested set instead. No idea if a possible gain in read operation would offset the losses in insertions.
JohnDeHope9 months ago
Yeah, new rule: I don&#x27;t believe anything in a published scientific paper until it has been independently verified for the third time. I don&#x27;t even want to <i>hear</i> about it, before then, unless I read the journal the original (or second) paper was published in. What I&#x27;d really like, and would subscribe to even as a lay person, is the JOURNAL OF STUDIES WHOSE FINDINGS HAVE BEEN SUCCESSFULLY REPRODUCED FOR THE THIRD TIME. I&#x27;d pay for a subscription to that.
评论 #41374040 未加载
luke-stanley9 months ago
Could be good to have the date put with the title?
评论 #41374114 未加载
评论 #41373930 未加载