Coordination-free Collaborative Replication based on Operational Transformation

Masato Takeichi
{"title":"Coordination-free Collaborative Replication based on Operational Transformation","authors":"Masato Takeichi","doi":"arxiv-2409.09934","DOIUrl":null,"url":null,"abstract":"We introduce Coordination-free Collaborative Replication (CCR), a new method\nfor maintaining consistency across replicas in distributed systems without\nrequiring explicit coordination messages. CCR automates conflict resolution,\ncontrasting with traditional Data-sharing systems that typically involve\ncentralized update management or predefined consistency rules. Operational Transformation (OT), commonly used in collaborative editing,\nensures consistency by transforming operations while maintaining document\nintegrity across replicas. However, OT assumes server-based coordination, which\nis unsuitable for modern, decentralized Peer-to-Peer (P2P) systems. Conflict-free Replicated Data Type (CRDT), like Two-Phase Sets (2P-Sets),\nguarantees eventual consistency by allowing commutative and associative\noperations but often result in counterintuitive behaviors, such as failing to\nre-add an item to a shopping cart once removed. In contrast, CCR employs a more intuitive approach to replication. It allows\nfor straightforward updates and conflict resolution based on the current data\nstate, enhancing clarity and usability compared to CRDTs. Furthermore, CCR\naddresses inefficiencies in messaging by developing a versatile protocol based\non data stream confluence, thus providing a more efficient and practical\nsolution for collaborative data sharing in distributed systems.","PeriodicalId":501197,"journal":{"name":"arXiv - CS - Programming Languages","volume":"36 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Programming Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.09934","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We introduce Coordination-free Collaborative Replication (CCR), a new method for maintaining consistency across replicas in distributed systems without requiring explicit coordination messages. CCR automates conflict resolution, contrasting with traditional Data-sharing systems that typically involve centralized update management or predefined consistency rules. Operational Transformation (OT), commonly used in collaborative editing, ensures consistency by transforming operations while maintaining document integrity across replicas. However, OT assumes server-based coordination, which is unsuitable for modern, decentralized Peer-to-Peer (P2P) systems. Conflict-free Replicated Data Type (CRDT), like Two-Phase Sets (2P-Sets), guarantees eventual consistency by allowing commutative and associative operations but often result in counterintuitive behaviors, such as failing to re-add an item to a shopping cart once removed. In contrast, CCR employs a more intuitive approach to replication. It allows for straightforward updates and conflict resolution based on the current data state, enhancing clarity and usability compared to CRDTs. Furthermore, CCR addresses inefficiencies in messaging by developing a versatile protocol based on data stream confluence, thus providing a more efficient and practical solution for collaborative data sharing in distributed systems.
基于业务转型的无协调协作复制
我们介绍了无协调协作复制(CCR),这是一种在分布式系统中保持各副本一致性的新方法,无需明确的协调信息。CCR 自动解决冲突,与传统的数据共享系统形成鲜明对比,后者通常涉及集中更新管理或预定义的一致性规则。操作转换(OT)通常用于协同编辑,通过转换操作来确保一致性,同时保持各副本之间的文档完整性。然而,OT 假定基于服务器的协调,不适合现代分散的点对点(P2P)系统。无冲突复制数据类型(Conflict-free Replicated Data Type,CRDT)与两相集(Two-Phase Sets,2P-Sets)一样,通过允许交换和关联操作来保证最终的一致性,但往往会导致一些反直觉的行为,比如一旦删除购物车中的物品,就无法再添加到购物车中。相比之下,CCR 采用了一种更直观的复制方法。它允许根据当前数据状态进行直接更新和冲突解决,与 CRDT 相比,提高了清晰度和可用性。此外,CCR 通过开发基于数据流汇合的通用协议,解决了消息传递的低效问题,从而为分布式系统中的协作数据共享提供了更高效、更实用的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信