Skip to main content
QUICK REVIEW

[Paper Review] Real Differences between OT and CRDT in Building Co-Editing Systems and Real World Applications

David Sun, Chengzheng Sun|arXiv (Cornell University)|May 2, 2019
Multimedia Communication and TechnologySocial Sciences63 references7 citations
TL;DR

This paper critically evaluates Operational Transformation (OT) and Conflict-free Replicated Data Types (CRDT) in real-time collaborative editing systems, revealing that despite CRDTs' theoretical claims of superiority, OT remains dominant in industry due to practical advantages in correctness, complexity, and real-world deployment. The authors analyze real-world co-editors and refute myths about CRDTs, showing that OT's maturity and reliability outweigh CRDTs' theoretical benefits in practice.

ABSTRACT

OT (Operational Transformation) was invented for supporting real-time co-editors in the late 1980s and has evolved to become a core technique used in today's working co-editors and adopted in major industrial products. CRDT (Commutative Replicated Data Type) for co-editors was first proposed around 2006, under the name of WOOT (WithOut Operational Transformation). Follow-up CRDT variations are commonly labeled as "post-OT" techniques and have made broad claims of superiority over OT solutions, in terms of correctness, time and space complexity, simplicity, etc. Over one decade later, however, OT remains the choice for building the vast majority of co-editors, whereas CRDT is rarely found in working co-editors. Why? To seek truth from facts, we set out to conduct a comprehensive and critical review of representative OT and CRDT solutions and working co-editors based on them. From this work, we have made important discoveries about OT and CRDT, and revealed facts and evidences that refute CRDT claims over OT on all accounts. We present our discoveries in three related and complementary articles. In prior two articles, we have revealed the similarities of OT and CRDT in following the same general transformation approach in co-editors, and their real differences in correctness and complexity. In this article, we examine the role of building working co-editors in shaping OT and CRDT research and solutions, and consequential differences in the choice between OT and CRDT in real world co-editors and industry products. In particular, we review the evolution of co-editors from research vehicles to real world applications, and discuss representative OT-based co-editors and alternative approaches in industry products and open source projects. Moreover, we evaluate CRDT-based co-editors in relation to published CRDT solutions, and clarify some myths surrounding "peer-to-peer" co-editing.

Motivation & Objective

  • To investigate why OT remains the dominant choice in real-world co-editing systems despite CRDTs' widespread theoretical claims of superiority.
  • To critically compare OT and CRDT in terms of correctness, complexity, and practical deployability in real-world applications.
  • To analyze the evolution of co-editing systems from research prototypes to industrial products and assess the role of real-world constraints in shaping technology choices.
  • To evaluate the actual performance and reliability of CRDT-based co-editors in comparison to published CRDT solutions and industry standards.
  • To clarify misconceptions about 'peer-to-peer' co-editing and the practical feasibility of CRDTs in production systems.

Proposed method

  • Conduct a comprehensive, fact-based review of representative OT and CRDT solutions from both academic literature and real-world implementations.
  • Analyze the design and deployment patterns of major OT-based co-editors (e.g., Google Docs, Microsoft Word co-authoring) and CRDT-based systems in open-source and industrial products.
  • Compare the correctness guarantees, time and space complexity, and implementation complexity of OT and CRDT across real-world use cases.
  • Examine the role of real-world constraints—such as network latency, conflict resolution, and system reliability—in shaping the adoption of OT over CRDT.
  • Evaluate the gap between theoretical CRDT properties and their practical implementation in real co-editing systems, especially in peer-to-peer settings.
  • Use evidence from published companion papers and real-world deployments to refute claims of CRDT superiority in correctness, simplicity, and efficiency.

Experimental results

Research questions

  • RQ1Why has OT remained the dominant paradigm in industrial co-editing systems despite over a decade of CRDT advancements?
  • RQ2To what extent do CRDTs truly outperform OT in correctness, time complexity, and space complexity in real-world systems?
  • RQ3What practical factors in real-world co-editing applications favor OT over CRDT, despite CRDTs' theoretical advantages?
  • RQ4How do real-world CRDT-based co-editors compare to their theoretical counterparts in terms of correctness and performance?
  • RQ5What myths about 'peer-to-peer' co-editing and CRDTs are perpetuated in the literature and industry, and how can they be clarified?

Key findings

  • OT remains the dominant paradigm in industrial co-editing systems due to its proven correctness, stability, and maturity in real-world deployment.
  • Despite CRDTs' theoretical claims of superiority in correctness and complexity, empirical evidence from real-world systems shows OT performs reliably under production constraints.
  • The gap between theoretical CRDT properties and practical implementations reveals significant discrepancies, particularly in peer-to-peer and latency-sensitive environments.
  • CRDTs are rarely used in production co-editing systems, not because of technical flaws, but due to practical challenges in state management and conflict resolution that are better handled by OT.
  • The paper debunks the myth that CRDTs inherently support true peer-to-peer co-editing without coordination, showing that real-world systems often require centralized or hybrid coordination.
  • The study reveals that OT and CRDT are more similar in their underlying transformation mechanisms than previously believed, with differences emerging primarily in practical deployment and correctness guarantees under real-world conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.