Hacker News new | ask | show | jobs
by WebBurnout 37 days ago
Sounds like a good use case for CRDTs, which would also enable offline editing
1 comments

In my use case I have 2 or 3 users editing the same database concurrently and they all want to see other's updates in near real time (within a second or two). Would a CRDT support that? It would be great if it did and I could just keep using XML to persist everything with no server. But that sounds unlikely.
Highly suggest you take a look here: https://github.com/yjs/yjs

CRDT can absolutely do what you’re asking.