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 language | English |
---|---|
Title of host publication | Proceedings of the 17th International Conference on Managed Programming Languages and Runtimes (MPLR ’20) |
Editors | Stefan Marr |
Publisher | ACM |
Pages | 1-12 |
Number of pages | 12 |
ISBN (Electronic) | 9781450388535 |
ISBN (Print) | 9781450388535 |
DOIs | |
Publication status | Published - Oct 2020 |
Event | 17th International Conference on Managed Programming Languages & Runtimes - Duration: 4 Nov 2020 → 5 Nov 2020 https://mplr2020.cs.manchester.ac.uk/index.php |
Publication series
Name | Proceedings of the 17th International Conference on Managed Programming Languages and Runtimes (MPLR ’20) |
---|
Conference
Conference | 17th International Conference on Managed Programming Languages & Runtimes |
---|---|
Abbreviated title | MPLR '20 |
Period | 4/11/20 → 5/11/20 |
Internet address |
Keywords
- Garbage collection
- Consistency
- Distributed architectures KEYWORDS Replication, CRDTs, Memory management
- Synchronization