Remove-Win: a Design Framework for Conflict-free Replicated Data Types

Yuqi Zhang, Hengfeng Wei, Yu Huang
5/4/2019
2 citations
cs.DC

Official code: elem-azar-unis/CRDT-Redis (55 stars, C, BSD-3-Clause, last commit 2023-03-14).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

CRDTs implemented in Redis

5511C, TclJul 5, 20183 years agoBSD-3-Clause
crdtcrdt-implementationsredisredis-serverredis-test

Similar Papers

Cite this paper

@article{zhang2019removewin,
  title  = {Remove-Win: a Design Framework for Conflict-free Replicated Data Types},
  author = {Yuqi Zhang and Hengfeng Wei and Yu Huang},
  year   = {2019},
  eprint = {1905.01403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.01403}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.01403.svg)](https://codeofpaper.com/paper/1905.01403)

Discussion