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

05/04/2019
by   Yuqi Zhang, et al.
0

Internet-scale distributed systems often replicate data within and across data centers to provide low latency and high availability despite node and network failures. Replicas are required to accept updates without coordination with each other, and the updates are then propagated asynchronously. This brings the issue of conflict resolution among concurrent updates, which is often challenging and error-prone. The Conflict-free Replicated Data Type (CRDT) framework provides a principled approach to address this challenge. This work focuses on a special type of CRDT, namely the Conflict-free Replicated Data Collection (CRDC), e.g. list and queue. The CRDC can have complex and compound data items, which are organized in structures of rich semantics. Complex CRDCs can greatly ease the development of upper-layer applications, but also makes the conflict resolution notoriously difficult. This explains why existing CRDC 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 CRDCs. To address the challenges above, we propose the Remove-Win Design Framework. The remove-win strategy for conflict resolution is simple but powerful. The remove operation just wipes out the data item, no matter how complex the value is. The user of the CRDC only needs to specify conflict resolution for non-remove operations. This resolution is destructed to three basic cases and are left as open terms in the CRDC design skeleton. Stubs containing user-specified conflict resolution logics are plugged into the skeleton to obtain concrete CRDC designs. We demonstrate the effectiveness of our design framework via a case study of designing a conflict-free replicated priority queue. Performance measurements also show the efficiency of the design derived from our design framework.

READ FULL TEXT
research
06/27/2018

Conflict-free Replicated Data Types: An Overview

Internet-scale distributed systems often replicate data at multiple geog...
research
12/01/2021

Conflict-free Collaborative Set Sharing for Distributed Systems

Collaborative Data Sharing is widely noticed to be essential for distrib...
research
05/16/2018

Conflict-free Replicated Data Types (CRDTs)

A conflict-free replicated data type (CRDT) is an abstract data type, wi...
research
12/15/2010

Data Conflict Resolution Using Trust Mappings

In massively collaborative projects such as scientific or community data...
research
12/01/2021

Operation-based Collaborative Data Sharing for Distributed Systems

Collaborative Data Sharing raises a fundamental issue in distributed sys...
research
10/13/2021

Dynamic Conflict Resolution of IoT Services in Smart Homes

We propose a novel conflict resolution framework for IoT services in mul...
research
05/26/2023

GOC-Ledger: State-based Conflict-Free Replicated Ledger from Grow-Only Counters

Conventional blockchains use consensus algorithms that totally order upd...

Please sign up or login with your details

Forgot password? Click here to reset