News for hackers. Stuff that matters.
Re:Server-sent events, WebSockets, and HTTP by samwillis on Sunday February 20, 2022 @03:16AM (#30404155)
Did you consider using CRDTs for your document sync? It sounds like what you were implementing was somewhere between OTs and CRDTs and trying to create a standard event protocol for them?

CRDTs remove the need keeping track of all (or any just recent) revisions on the server as you would with OTs, your server can be stateless and just act as a message broker between clients.

Edit:

Should have followed your links, yes that’s exactly what you are doing.

https://braid.org/

There are no comments on this comment yet.