{"title":"基于业务转型的无协调协作复制","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":"{\"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}","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}
Coordination-free Collaborative Replication based on Operational Transformation
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.