Remove-Win: a Design Framework for Conflict-free Replicated Data Types
Preprint
Abstract
Distributed storage systems employ replication to improve performance and reliability. To provide low latency data access, replicas are often required to accept updates without coordination with each other, and the updates are then propagated asynchronously. This brings the critical challenge of conflict resolution among concurrent updates. Conflict-free Replicated Data Type (CRDT) is a principled approach to addressing this challenge. However, existing CRDT designs are tricky, and hard to be generalized to other data types. A design framework is in great need to guide the systematic design of new CRDTs. To address this challenge, we propose RWF -- the Remove-Win design Framework for CRDTs. RWF leverages the simple but powerful remove-win strategy to resolve conflicting updates, and provides generic design for a variety of data container types. Two exemplar implementations following RWF are given over the Redis data type store, which demonstrate the effectiveness of RWF. Performance measurements of our implementations further show the efficiency of CRDT designs following RWF.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Distributed causal memory: modular specification and verification in higher-order distributed separation logicProceedings of the ACM on Programming Languages, 2021
- Specification and Complexity of Collaborative Text Editing2016
- A study of CRDTs that do computations2015
- Coordination avoidance in database systemsProceedings of the VLDB Endowment, 2014
- Perspectives on the CAP TheoremComputer, 2012
- Evaluating CRDTs for real-time document editing2011
- Data consistency for P2P collaborative editing2006
- Towards robust distributed systems (abstract)2000
- Lightweight causal and atomic group multicastACM Transactions on Computer Systems, 1991
- Skip lists: a probabilistic alternative to balanced treesCommunications of the ACM, 1990