English

Delta State Replicated Data Types

Distributed, Parallel, and Cluster Computing 2017-10-17 v1

Abstract

CRDTs are distributed data types that make eventual consistency of a distributed object possible and non ad-hoc. Specifically, state-based CRDTs ensure convergence through disseminating the entire state, that may be large, and merging it to other replicas; whereas operation-based CRDTs disseminate operations (i.e., small states) assuming an exactly-once reliable dissemination layer. We introduce Delta State Conflict-Free Replicated Data Types (δ\delta-CRDTs) that can achieve the best of both worlds: small messages with an incremental nature, as in operation-based CRDTs, disseminated over unreliable communication channels, as in traditional state-based CRDTs. This is achieved by defining delta mutators to return a delta-state, typically with a much smaller size than the full state, that to be joined with both local and remote states. We introduce the δ\delta-CRDT framework, and we explain it through establishing a correspondence to current state-based CRDTs. In addition, we present an anti-entropy algorithm for eventual convergence, and another one that ensures causal consistency. Finally, we introduce several δ\delta-CRDT specifications of both well-known replicated datatypes and novel datatypes, including a generic map composition.

Keywords

Cite

@article{arxiv.1603.01529,
  title  = {Delta State Replicated Data Types},
  author = {Paulo Sérgio Almeida and Ali Shoker and Carlos Baquero},
  journal= {arXiv preprint arXiv:1603.01529},
  year   = {2017}
}

Comments

arXiv admin note: substantial text overlap with arXiv:1410.2803

R2 v1 2026-06-22T13:04:01.037Z