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.
Original languageEnglish
Title of host publication Proceedings of the 11th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages
Place of PublicationAthens, Greece
PublisherACM New York
Number of pages9
ISBN (Print)978-1-4503-6987-9
Publication statusPublished - 22 Oct 2019
EventThe 11th Workshop on Virtual Machines and Intermediate Languages - Splash 2019, Athens, Greece
Duration: 22 Oct 201922 Oct 2019


WorkshopThe 11th Workshop on Virtual Machines and Intermediate Languages
Abbreviated titleVMIL 2019
Internet address

ID: 48014731