ReDunT: Automatically Deriving Redundancy Relations for Pure Op-Based CRDTs
Conflict-free Replicated Data Types (CRDTs) are a family of data structures that incorporate conflict resolution mechanisms to ensure state convergence and ease the development of highly available distributed systems. Pure operation-based CRDTs provide a unified framework for defining CRDTs based on a partially ordered log of operations. The framework eases the implementation of CRDTs and reduces the risk of introducing bugs. However, developers are still required to manually define the CRDT semantics and compaction functions, which can be complex and error-prone. This paper proposes ReDunT, a framework for the automatic synthesis of compaction functions for pure op-based CRDTs using a rewrite-based semantic approach. We evaluate ReDunT by applying it to a portfolio of pure operation-based CRDTs, including sets and flags, and comparing the obtained results with the manually optimised specifications. We also demonstrate the feasibility of the framework by implementing it as an automatic tool in K semantic framework.
Authors
- Henrique Domingos (ORCID: https://orcid.org/0000-0002-5536-7729)
- Nuno Preguiça (ORCID: https://orcid.org/0000-0002-1513-1527)
- Carla Ferreira (ORCID: https://orcid.org/0000-0003-3680-7634)
- Elisa Gonzalez Boix (ORCID: https://orcid.org/0000-0002-9966-6421)
- Afonso Vilalonga (ORCID: https://orcid.org/0009-0006-2143-4221)
- Dina Borrego (ORCID: https://orcid.org/0009-0001-6147-9110)
Institutions
- Vrije Universiteit Brussel (BE)
- Universidade Nova de Lisboa (PT)
Publication Details
- Published
- 2025-03-30
- DOI
- https://doi.org/10.1145/3721473.3722145
- Primary Topic
- Semiconductor Lasers and Optical Devices
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Carnegie Mellon Portugal
- European Commission
- NOVA Laboratory for Computer Science and Informatics
- HORIZON EUROPE Framework Programme
- Fundação para a Ciência e a Tecnologia