Making Operation-Based CRDTs Operation-Based - LNCS 8460: Distributed Applications and Interoperable Systems
Conference Papers Year : 2014

Making Operation-Based CRDTs Operation-Based

Abstract

Conflict-free Replicated Datatypes (CRDT) are usually classified as either state-based or operation-based. However, the standard definition of op-based CRDTs is very encompassing, allowing even sending the full-state, blurring the distinction. We introduce pure op-based CRDTs, that can only send operations to other replicas, drawing a clear distinction from state-based ones. Datatypes with commutative operations can be trivially implemented as pure op-based CRDTs using standard reliable causal delivery. We propose an extended API – tagged reliable causal broadcast – that provides causality information upon delivery, and show how it can be used to also implement other datatypes having non-commutative operations, through the use of a PO-Log – a partially ordered log of operations – inside the datatype. A semantically-based PO-Log compaction framework, using both causality and what we denote by causal stability, allows obtaining very compact replica state for pure op-based CRDTs, while also benefiting from small message sizes.
Fichier principal
Vignette du fichier
326177_1_En_11_Chapter.pdf (275.09 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-01287738 , version 1 (14-03-2016)

Licence

Identifiers

Cite

Carlos Baquero, Paulo Sérgio Almeida, Ali Shoker. Making Operation-Based CRDTs Operation-Based. 4th International Conference on Distributed Applications and Interoperable Systems (DAIS), Jun 2014, Berlin, Germany. pp.126-140, ⟨10.1007/978-3-662-43352-2_11⟩. ⟨hal-01287738⟩
159 View
1097 Download

Altmetric

Share

More