Using Weaker Consistency Models with Monitoring and Recovery for Improving Performance of Key-Value Stores
Duong Nguyen, Aleksey Charapko, Sandeep S Kulkarni, Murat Demirbas

TL;DR
This paper presents a detect-rollback approach that allows existing algorithms designed for sequential consistency to operate efficiently under weaker consistency models like eventual consistency, by monitoring correctness predicates and rolling back when violations occur.
Contribution
The paper introduces a novel detect-rollback method enabling correct execution of algorithms under weaker consistency models by monitoring and restoring states, improving performance of key-value stores.
Findings
Eventual consistency with monitoring yields 50-80% higher throughput than sequential consistency.
Monitoring overhead is typically less than 4%.
Most violations are detected within 50 milliseconds in regional networks.
Abstract
Consistency properties provided by most key-value stores can be classified into sequential consistency and eventual consistency. The former is easier to program with but suffers from lower performance whereas the latter suffers from potential anomalies while providing higher performance. We focus on the problem of what a designer should do if he/she has an algorithm that works correctly with sequential consistency but is faced with an underlying key-value store that provides a weaker consistency. We propose a detect-rollback based approach: The designer identifies a correctness predicate, say , and continues to run the protocol, as our system monitors . If is violated (because of weaker consistency), the system rolls back and resumes the computation at a state where holds. We evaluate this approach with graph-based applications running on the Voldemort key-value store.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
