Collaborative Text Editing Without CRDTs or OT
mattweidner.com
Collaborative Text Editing Without CRDTs or OT
1–10 of 86 posts
Re: Collaborative Text Editing Without CRDTs or OT
#2Re: Collaborative Text Editing Without CRDTs or OT
#3[flagged]
Re: Collaborative Text Editing Without CRDTs or OT
#4Re: Collaborative Text Editing Without CRDTs or OT
#5[flagged]
Re: Collaborative Text Editing Without CRDTs or OT
#6The article mentions this:
> This contrasts with text-editing CRDTs, in which IDs are ordered for you by a fancy algorithm. That ordering algorithm is what differs between the numerous text-editing CRDTs, and it’s the complicated part of any CRDT paper; we get to avoid it entirely.
I can buy the idea that many apps have a central server anyway, so you can avoid the "fancy algorithm", though the server reconciliation requires undoing and replaying of local edits, so it's not 100% clear to me if that's much simpler.
Re: Collaborative Text Editing Without CRDTs or OT
#7I implemented this in a decentralized context and as a CRDT though, so that the properties hold (commutative, idempotent and associative).
Re: Collaborative Text Editing Without CRDTs or OT
#8I'm not an expert on this, but the main difference with a CRDT like Automerge seems to be the server reconciliation. See for example this article [1]. Automerge handles concurrent insertions by using a sequence number and relying on an agreed ordering of agent ids when insertions are concurrent, while this scheme relies on the server to handle them in the order they come in. The article mentions this: > This contrast…
Re: Collaborative Text Editing Without CRDTs or OT
#9Re: Collaborative Text Editing Without CRDTs or OT
#10Cool to see a write up on this! Discovered the same method years ago and also wondered why it doesn’t show up in academic literature. I implemented this in a decentralized context and as a CRDT though, so that the properties hold (commutative, idempotent and associative).