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: Are there any databases backed by CRDTs?

2 pointsby mfbx9da4almost 4 years ago
I’ve come across CRDTs and I’m excited for their potential but I’m concerned that it doesn&#x27;t really play nicely with databases that I know of. Regardless of whether I use CRDTs during transport, whenever I update my database state, I will still have to do some kind of locking beit pessimistic or optimistic before writing data.<p>Unless there is a DB which accepts CRDTs, OTs or some kind of patchsets as part of its DSL and it handles the concurrency internally? Are there any such databases?<p>Effectively a very sophisticated version of the `UPDATE` command.

1 comment

lurksharkalmost 4 years ago
SoundCloud&#x27;s Roshi database is built on LWW-Element-Sets, but doesn&#x27;t have an explicitly CRDT-based API. It looks like they no longer use it internally, however.<p><a href="https:&#x2F;&#x2F;developers.soundcloud.com&#x2F;blog&#x2F;roshi-a-crdt-system-for-timestamped-events" rel="nofollow">https:&#x2F;&#x2F;developers.soundcloud.com&#x2F;blog&#x2F;roshi-a-crdt-system-f...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;soundcloud&#x2F;roshi" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;soundcloud&#x2F;roshi</a>