Affiliation:
1. Carnegie Mellon University, USA
Abstract
Operation-based Conflict-free Replicated Data Types (CRDTs) are eventually consistent replicated data types that automatically resolve conflicts between concurrent operations. Op-based CRDTs must be designed differently for each data type, and current designs use ad-hoc techniques to handle concurrent operations that do not naturally commute. We present a new construction, the semidirect product of op-based CRDTs, which combines the operations of two CRDTs into one while handling conflicts between their concurrent operations in a uniform way. We demonstrate the construction's utility by using it to construct novel CRDTs, as well as decomposing several existing CRDTs as semidirect products of simpler CRDTs. Although it reproduces common CRDT semantics, the semidirect product can be viewed as a restricted kind of operational transformation, thus forming a bridge between these two opposing techniques for constructing replicated data types.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference26 articles.
1. AntidoteDB. 2019. Datatypes in Antidote. https://antidotedb.gitbook.io/documentation/architecture/datatypes. AntidoteDB. 2019. Datatypes in Antidote. https://antidotedb.gitbook.io/documentation/architecture/datatypes.
2. The problem with embedded CRDT counters and a solution
3. Basho. 2015. Riak datatypes. http://github.com/basho. Basho. 2015. Riak datatypes. http://github.com/basho.
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Type-Checking CRDT Convergence;Proceedings of the ACM on Programming Languages;2023-06-06
2. On Extend-Only Directed Posets and Derived Byzantine-Tolerant Replicated Data Types;Proceedings of the 10th Workshop on Principles and Practice of Consistency for Distributed Data;2023-05-08
3. For-Each Operations in Collaborative Apps;Proceedings of the 10th Workshop on Principles and Practice of Consistency for Distributed Data;2023-05-08
4. A theoretic framework of bidirectional transformation between systems and models;Science China Information Sciences;2022-09-27
5. ECROs: building global scale systems from sequential code;Proceedings of the ACM on Programming Languages;2021-10-20