Chapar: certified causally consistent distributed key-value stores
Name
ChaparPOPL16.pdf
Description
Accepted version
Size
507.33 KB
Format
Adobe PDF
Checksum (MD5)
0f4dade6a80ca13021de503638886f83
Author(s) • •
Lesani, Mohsen
Bell, Christian J.
Chlipala, Adam
Date Issued
January 11, 2016
Publisher
ACM
Citation
Lesani, Mohsen, Bell, Christian J. and Chlipala, Adam. 2016. "Chapar: certified causally consistent distributed key-value stores."
Version
Author's final manuscript
Abstract
© 2016 ACM. Today's Internet services are often expected to stay available and render high responsiveness even in the face of site crashes and network partitions. Theoretical results state that causal consistency is one of the strongest consistency guarantees that is possible under these requirements, and many practical systems provide causally consistent key-value stores. In this paper, we present a framework called Chapar for modular verification of causal consistency for replicated key-value store implementations and their client programs. Specifically, we formulate separate correctness conditions for key-value store implementations and for their clients. The interface between the two is a novel operational semantics for causal consistency. We have verified the causal consistency of two key-value store implementations from the literature using a novel proof technique. We have also implemented a simple automatic model checker for the correctness of client programs. The two independently verified results for the implementations and clients can be composed to conclude the correctness of any of the programs when executed with any of the implementations. We have developed and checked our framework in Coq, extracted it to OCaml, and built executable stores.
MIT Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Terms of Use
Creative Commons Attribution-Noncommercial-Share Alike
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.1145/2837614.2837622