Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data | 2021

Improving the Reactivity of Pure Operation-Based CRDTs

 
 

Abstract


Modern distributed applications increasingly replicate data to guarantee both high availability of the system 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. In this paper, we show that the reliance on reliable causal broadcasting (RCB) middleware by existing CRDT frameworks may lead to less reactive CRDTs which in turn hampers user experience. We propose a solution that improves the reactivity of CRDTs built on an RCB middleware by reifying buffered operations. We apply our strategy to the pure operation-based CRDT framework, allowing for reactive pure operation-based CRDTs. We describe our approach as a formal extension to the framework and implement it in Flec, an extensible and open CRDT framework. The extension is then used to create new Add-Wins and Remove-Wins sets which exhibit higher reactivity.

Volume None
Pages None
DOI 10.1145/3447865.3457968
Language English
Journal Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data

Full Text