All challenges
Multiple ChoiceHard 45s

CRDT vs OT for collaborative editing

You are designing a collaborative rich-text editor that must support peer-to-peer sync with no central server. Which approach best fits?
Options
  1. 1Operational Transformation (OT), which requires a central sequencer to transform operations
  2. 2Pessimistic record locking coordinated by a leader election
  3. 3CRDTs, whose merge is commutative/associative so peers can converge without a central server
  4. 4Full snapshot polling where clients request the latest document periodically

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle