Abstract
Modern distributed applications increasingly replicate data in order to guarantee both high availability of systems and an optimal user experience. Conflict-Free Replicated Data Types (CRDTs) are a family of data types specially designed for highly available systems which guarantee some form of eventual consistency. However, memory usage may grow unboundedly in their implementations, as garbage collection of meta-data is not tackled in most approaches.
In this paper, we explore a memory management model for operation-based CRDTs in dynamic setting, where nodes can dynamically join a network, and where the implementation can remove unnecessary meta-data employed by CRDTs used to determine the order of operations applied in different replicas. We first describe how new nodes will be brought up-to-date and fully linked with other replicas, and later we introduce our memory management model which allows meta-data to be removed.
We benchmark the memory usage of an add-wins set using different garbage collection techniques in various situations and show how our approach can be beneficial in comparison to state of the art techniques.
In this paper, we explore a memory management model for operation-based CRDTs in dynamic setting, where nodes can dynamically join a network, and where the implementation can remove unnecessary meta-data employed by CRDTs used to determine the order of operations applied in different replicas. We first describe how new nodes will be brought up-to-date and fully linked with other replicas, and later we introduce our memory management model which allows meta-data to be removed.
We benchmark the memory usage of an add-wins set using different garbage collection techniques in various situations and show how our approach can be beneficial in comparison to state of the art techniques.
Original language | English |
---|---|
Title of host publication | Proceedings of the 11th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages |
Place of Publication | Athens, Greece |
Publisher | ACM New York |
Pages | 48-57 |
Number of pages | 9 |
ISBN (Electronic) | 9781450369879 |
ISBN (Print) | 978-1-4503-6987-9 |
DOIs | |
Publication status | Published - 22 Oct 2019 |
Event | The 11th Workshop on Virtual Machines and Intermediate Languages - Splash 2019, Athens, Greece Duration: 22 Oct 2019 → 22 Oct 2019 https://2019.splashcon.org/home/vmil-2019 |
Publication series
Name | VMIL 2019 - Proceedings of the 11th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages, co-located with SPLASH 2019 |
---|
Workshop
Workshop | The 11th Workshop on Virtual Machines and Intermediate Languages |
---|---|
Abbreviated title | VMIL 2019 |
Country/Territory | Greece |
City | Athens |
Period | 22/10/19 → 22/10/19 |
Internet address |