Skip to main content
QUICK REVIEW

[論文レビュー] Real Differences between OT and CRDT for Co-Editors

Chengzheng Sun, David Sun|arXiv (Cornell University)|Oct 4, 2018
Usability and User Interface DesignComputer Science参考文献 57被引用数 3
ひとこと要約

この論文は、共同編集システムにおける操作変換(OT)と、矛盾のないレプリケートデータ型(CRDT)の現実世界における差異を批判的に検討し、CRDTが本質的に優れていると広く信じられている主張に疑問を呈する。代表的なシステムの包括的分析を通じて、一貫性、パフォーマンス、開発者による使いやすさという実用的利点により、OTが実際の現場で依然として優勢であることが明らかになった。これは、CRDTが可換性と単純性の理論的利点を有する一方で、実用的側面では依然としてOTが優位であることを示している。

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 capable of making concurrent operations natively commutative, 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, CRDT solutions are rarely found in working co-editors, while OT solutions remain the choice for building the vast majority of co-editors. Contradictions between this reality and CRDT's purported advantages have been the source of much debate and confusion in co-editing research and developer communities. What is CRDT really to co-editing? What are the real differences between OT and CRDT for co-editors? What are the key factors that may have affected the adoption of and choice between OT and CRDT for co-editors in the real world? In this paper, we report our discoveries, in relation to these questions and beyond, from a comprehensive review and comparison study on representative OT and CRDT solutions and working co-editors based on them. Moreover, this work reveals facts and presents evidences that refute CRDT claimed advantages over OT. We hope the results reported in this paper will help clear up common myths, misconceptions, and confusions surrounding alternative co-editing techniques, and accelerate progress in co-editing technology for real world applications.

研究の動機と目的

  • CRDTに理論的利点があるにもかかわらず、なぜ実世界の共同編集エディタでほとんど使われていないのかを調査すること。
  • 正しさ、パフォーマンス、複雑さ、実用性の観点から、代表的なOTおよびCRDTソリューションを比較すること。
  • 生産環境の共同編集システムにおいてOTがCRDTよりも採用されやすい要因を特定すること。
  • 共同編集アプリケーションにおいてCRDTがOTを常に上回るとされる一般的な主張を挑戦し、反証すること。
  • 研究者コミュニティおよび開発者コミュニティにおける、共同編集用途におけるOTとCRDTの相対的利点に関する誤解を明確にすること。

提案手法

  • 実際の共同編集アプリケーションで使われている代表的なOTおよびCRDTシステムの比較レビューを実施すること。
  • 両方のOTおよびCRDTソリューションの設計原則、一貫性モデル、動作意味論を分析すること。
  • 正しさ、時間的・空間的計算量、実装の複雑さ、開発者による使いやすさの観点からシステムを評価すること。
  • OTおよびCRDTベースの共同編集ツールの実世界での導入状況を検討し、実用的トレードオフを評価すること。
  • 産業界のシステムからの実証的証拠を用いて、CRDTのパフォーマンスおよび正しさにおける優位性の主張を検証すること。
  • CRDTの理論的特性と、システム実装および保守における現実の課題を対比すること。

実験結果

リサーチクエスチョン

  • RQ1理論的利点があるにもかかわらず、なぜCRDTは生産環境の共同編集システムでほとんど使われていないのか?
  • RQ2現実世界のシステムにおいて、一貫性、パフォーマンス、複雑さという観点から、OTとCRDTの実際の差異は何か?
  • RQ3実際の現場において、CRDTが正しさ、時間的・空間的効率においてOTを常に上回るとは言えるか?
  • RQ4現実世界の共同編集システムにおいて、OTとCRDTの選択に影響を与える実用的要因は何か?
  • RQ5研究者コミュニティおよび開発者コミュニティで広がっている、CRDTとOTに関する神話や誤解は何か?

主な発見

  • OTは、その実証済みの一貫性と実用的頑健性のおかげで、現実世界の共同編集システムで依然として支配的である。
  • 優位性が主張されているにもかかわらず、実際の実装においてCRDTがOTを時間的・空間的計算量の点で一貫して上回ることはなく、むしろ同程度か、あるいは劣ることが多い。
  • CRDTは、しばしば認識されているほど単純ではなく、実装および保守の複雑さが予想以上に高いため、単純さの利点が損なわれる。
  • CRDTの理論的正しさが、複雑な共同編集シナリオにおいても常に実際の正しさに直結するわけではない。
  • OTはCRDTに比べて、開発者による使いやすさおよびツールキットのサポートが著しく優れているため、OTの継続的優位性に貢献している。
  • 本論文は、多くのCRDTの優位性主張が、現実のシステム挙動ではなく、理想化されたモデルに基づいていることを特定した。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。