arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.02137cs.DCcs.HCcs.SE
收藏

OT和CRDT对共同编辑者的实际区别

Real Differences between OT and CRDT for Co-Editors

Chengzheng Sun, David Sun, Agustina, Weiwei Cai

摘要:

OT(操作转换)是在20世纪80年代末为支持实时协同编辑器而发明的,并已发展成为当今工作协同编辑器中使用的核心技术,并被主要工业产品采用。CRDT(可交换复制数据类型)在2006年左右首次提出,名为WOOT(WithOut Operational Transformation)。后续的CRDT变体通常被标记为“后OT”技术,能够使并发操作原生地可交换,并且在正确性、时间和空间复杂度、简单性等方面比OT解决方案具有广泛的优越性。这一现实与CRDT所宣称的优势之间的矛盾一直是共同编辑研究和开发社区中许多争论和困惑的根源。什么是CRDT真正的共同编辑?OT和CRDT对于共同编辑者的真正区别是什么?在现实世界中,哪些关键因素可能影响共同编辑者在OT和CRDT之间的选择和采用?在本文中,我们报告了我们的发现,在这些问题和超越,从一个全面的审查和比较研究的代表OT和CRDT解决方案和工作的共同编辑基于它们。此外,这项工作揭示了事实,并提出了证据,反驳CRDT声称优于OT。我们希望本文中报告的结果将有助于消除围绕替代共同编辑技术的常见神话,误解和困惑,并加速共同编辑技术在现实世界应用中的进展。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑