English

Composing and Decomposing Op-Based CRDTs with Semidirect Products

Distributed, Parallel, and Cluster Computing 2020-04-10 v1

Abstract

Operation-based Conflict-free Replicated Data Types (CRDTs) are eventually consistent replicated data types that automatically resolve conflicts between concurrent operations. Op-based CRDTs must be designed differently for each data type, and current designs use ad-hoc techniques to handle concurrent operations that do not naturally commute. We present a new construction, the semidirect product of op-based CRDTs, which combines the operations of two CRDTs into one while handling conflicts between their concurrent operations in a uniform way. We demonstrate the construction's utility by using it to construct novel CRDTs, as well as decomposing several existing CRDTs as semidirect products of simpler CRDTs. Although it reproduces common CRDT semantics, the semidirect product can be viewed as a restricted kind of operational transformation, thus forming a bridge between these two opposing techniques for constructing replicated data types.

Keywords

Cite

@article{arxiv.2004.04303,
  title  = {Composing and Decomposing Op-Based CRDTs with Semidirect Products},
  author = {Matthew Weidner and Heather Miller and Christopher Meiklejohn},
  journal= {arXiv preprint arXiv:2004.04303},
  year   = {2020}
}

Comments

25 pages, 3 figures

R2 v1 2026-06-23T14:44:58.885Z