Efficient Renaming in Sequence CRDTs
Résumé
To achieve high availability, large-scale distributed systems have to replicate data and to minimise coordination between nodes. Literature and industry increasingly adopt Conflict-free Replicated Data Types (CRDTs) to design such systems. CRDTs are data types which behave as traditional ones, e.g. the Set or the Sequence. However, unlike traditional data types, they are designed to natively support concurrent modifications. To this end, they embed in their specification a conflict-resolution mechanism. To resolve conflicts in a deterministic manner, CRDTs usually attach identifiers to elements stored in the data structure. Identifiers have to comply with several constraints, such as uniqueness or belonging to a dense order. These constraints may hinder the identifiers' size from being bounded. As the system progresses, identifiers tend to grow. This inflation deepens the overhead of the CRDT over time, leading to performance issues. To address this issue, we propose a new CRDT for Sequence which embeds a renaming mechanism. It enables nodes to reassign shorter identifiers to elements in an un-coordinated manner. Experimental results demonstrate that this mechanism decreases the overhead of the replicated data structure and eventually limits it.
Mots clés
CRDTs
CCS Concepts • Theory of computation → Distributed algorithms
• Software and its engineering → Consis- tency
• Human-centered computing → Collaborative and social computing systems and tools
• Applied com- puting → Text editing
Keywords CRDTs
real-time collaborative editing
eventual consistency
memory-wise optimisation
performance
Origine | Fichiers produits par l'(les) auteur(s) |
---|
Loading...