System Design · Senior · Question 13 of 75

How does OT differ from CRDT in collaborative editing?

Explanation

Operational Transformation (Google Docs) adjusts concurrent operations relative to each other, which is easier with an arbiter server. CRDTs (Yjs, Automerge) are structures whose states mathematically merge into one in any order; they're convenient for offline and P2P but carry metadata.

Further reading

Problem with a question

System Design · Senior · question 13

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz