Optimistic Execution in Key-Value Store

01/22/2018
by   Duong Nguyen, et al.
0

Limitations of CAP theorem imply that if availability is desired in the presence of network partitions, one must sacrifice sequential consistency, a consistency model that is more natural for system design. We focus on the problem of what a designer should do if she has an algorithm that works correctly with sequential consistency but is faced with an underlying key-value store that provides a weaker (e.g., eventual or causal) consistency. We propose a detect-rollback based approach: The designer identifies a correctness predicate, say P , and continue to run the protocol, as our system monitors P . If P is violated (because the underlying key-value store provides a weaker consistency), the system rolls back and resumes the computation at a state where P holds. We evaluate this approach in the Voldemort key-value store. Our experiments with deployment of Voldemort on Amazon AWS shows that using eventual consistency with monitoring can provide 20 - 40 compared with sequential consistency. We also show that the overhead of the monitor itself is small (typically less than 8 violations is very low. For example, more than 99.9 less than 1 second.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2018

Technical Report: Optimistic Execution in Key-Value Store

Limitations of CAP theorem imply that if availability is desired in the ...
research
08/02/2018

Benefit of Self-Stabilizing Protocols in Eventually Consistent Key-Value Stores: A Case Study

In this paper, we focus on the implementation of distributed programs in...
research
09/04/2019

Using Weaker Consistency Models with Monitoring and Recovery for Improving Performance of Key-Value Stores

Consistency properties provided by most key-value stores can be classifi...
research
04/03/2018

Database Consistency Models

A data store allows application processes to put and get data from a sha...
research
06/01/2021

UniStore: A fault-tolerant marriage of causal and strong consistency (extended version)

Modern online services rely on data stores that replicate their data acr...
research
08/16/2018

Session Guarantees with Raft and Hybrid Logical Clocks

Eventual consistency is a popular consistency model for geo-replicated d...
research
02/14/2020

Consistency Analysis of Replication-Based Probabilistic Key-Value Stores

Partial quorum systems are widely used in distributed key-value stores d...

Please sign up or login with your details

Forgot password? Click here to reset