Alex Auvolat, and François Taïani

Merkle Search Trees: Efficient State-Based CRDTs in Open Networks

SRDS 2019 - 38th IEEE International Symposium on Reliable Distributed Systems, Lyon, France, October, pp. 1-10, IEEE, 2019 (10p.)

Abstract
Most recent CRDT techniques rely on a causal broadcast primitive to provide guarantees on the delivery of operation deltas. Such a primitive is unfortunately hard to implement efficiently in large open networks, whose membership is often difficult to track. As an alternative, we argue in this paper that pure state-based CRDTs can be efficiently implemented by encoding states as specialized Merkle trees, and that this approach is well suited to open networks where many nodes may join and leave. At the core of our contribution lies a new kind of Merkle tree, called Merkle Search Tree (MST), that implements a balanced search tree while maintaining key ordering. This latter property makes it particularly efficient in the case of updates on sets of sequential keys, a common occurrence in many applications. We use this new data structure to implement a distributed event store, and show its efficiency in very large systems with low rates of updates. In particular, we show that in some scenarios our approach is able to achieve both a 66% reduction of bandwidth cost over a vector-clock approach, as well as a 34% improvement in consistency level. We finally suggest other uses of our construction for distributed databases in open networks.

complete document

doi: http://doi.org/10.1109/SRDS.2019.00032 (publisher's link)

bibtex

Copies / Update: Please contact me by email if you wish to obtain a copy of a paper that is not available on line.



[Maison.png]Back to Home

 
Last generated on 5 Feb 2020       francois.taiani@irisa.fr     Valid HTML 4.0!