English

Efficient State-based CRDTs by Delta-Mutation

Distributed, Parallel, and Cluster Computing 2015-03-04 v2 Databases Data Structures and Algorithms Performance

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 en- tire 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 Datatypes ({\delta}-CRDT) 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 is joined to 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 that ensures causal consistency, and we introduce two {\delta}-CRDT specifications of well-known replicated datatypes.

Keywords

Cite

@article{arxiv.1410.2803,
  title  = {Efficient State-based CRDTs by Delta-Mutation},
  author = {Paulo Sérgio Almeida and Ali Shoker and Carlos Baquero},
  journal= {arXiv preprint arXiv:1410.2803},
  year   = {2015}
}

Comments

19 pages

R2 v1 2026-06-22T06:19:32.341Z