English

Technical Report: Optimistic Execution in Key-Value Store

Distributed, Parallel, and Cluster Computing 2018-06-26 v3

Abstract

Limitations of the 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 he/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 PP, and continues to run the protocol, as our system monitors PP. If PP is violated (because the underlying key-value store provides a weaker consistency), the system rolls back and resumes the computation at a state where PP holds. We evaluate this approach with practical graph applications running on the Voldemort key-value store. Our experiments with deployment on Amazon AWS EC2 instances shows that using eventual consistency with monitoring can provide a 5080%50-80\% increase in throughput when compared with sequential consistency. We also show that the overhead of the monitoring itself is low (typically less than 4\%) and the latency of detecting violations is small. In particular, more than 99.9%99.9\% of violations are detected in less than 5050 milliseconds in regional AWS networks, and in less than 55 seconds in global AWS networks.

Keywords

Cite

@article{arxiv.1805.11453,
  title  = {Technical Report: Optimistic Execution in Key-Value Store},
  author = {Duong Nguyen and Aleksey Charapko and Sandeep Kulkarni and Murat Demirbas},
  journal= {arXiv preprint arXiv:1805.11453},
  year   = {2018}
}

Comments

arXiv admin note: substantial text overlap with arXiv:1801.07319

R2 v1 2026-06-23T02:11:56.899Z