From Causality to Stability: Understanding and Reducing Meta-Data in CRDTs

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

2 Citations (Scopus)
121 Downloads (Pure)

Abstract

Modern distributed applications increasingly replicate data to guarantee both high availability of systems and optimal user experience. Conflict-Free Replicated Data Types (CRDTs) are a family of data types specially designed for highly available systems that guarantee some form of eventual consistency. To ensure state convergence between replicas, CRDT implementations need to keep track of additional meta-data. This is not a scalable strategy, as a growing amount of meta-data has to be kept. In this paper, we show that existing solutions for this problem miss optimisation opportunities and may lead to less reactive CRDTs. For this, we analyse the relation between meta-data and the causality of operations in operation-based CRDTs. We explore a new optimisation strategy for pure operation-based CRDTs and show how it reduces memory overhead. Our approach takes advantage of the communication layer providing reliable delivery to determine causal stability, and as a result, meta-data can be removed sooner. We furthermore propose a solution for improving the reactivity of CRDTs built on a reliable causal broadcasting layer. We apply our strategy to pure-operation based CRDTs and validate our approach by measuring its impact on several different setups. The results show how our approach can lead to significant improvements in meta-data cleanup when compared to state-of-the-art techniques.
Original languageEnglish
Title of host publicationProceedings of the 17th International Conference on Managed Programming Languages and Runtimes (MPLR ’20)
EditorsStefan Marr
PublisherACM
Pages1-12
Number of pages12
ISBN (Electronic)9781450388535
ISBN (Print)9781450388535
DOIs
Publication statusPublished - Oct 2020
Event17th International Conference on Managed Programming Languages & Runtimes -
Duration: 4 Nov 20205 Nov 2020
https://mplr2020.cs.manchester.ac.uk/index.php

Publication series

NameProceedings of the 17th International Conference on Managed Programming Languages and Runtimes (MPLR ’20)

Conference

Conference17th International Conference on Managed Programming Languages & Runtimes
Abbreviated titleMPLR '20
Period4/11/205/11/20
Internet address

Keywords

  • Garbage collection
  • Consistency
  • Distributed architectures KEYWORDS Replication, CRDTs, Memory management
  • Synchronization

Fingerprint

Dive into the research topics of 'From Causality to Stability: Understanding and Reducing Meta-Data in CRDTs'. Together they form a unique fingerprint.

Cite this