'Cause I'm Strong Enough: Reasoning about Consistency Choices in Distributed Systems

Abstract : Large-scale distributed systems often rely on replicated databases that allow a programmer to request different data consistency guarantees for different operations, and thereby control their performance. Using such databases is far from trivial: requesting stronger consistency in too many places may hurt performance, and requesting it in too few places may violate correctness. To help programmers in this task, we propose the first proof rule for establishing that a particular choice of consistency guarantees for various operations on a replicated database is enough to ensure the preservation of a given data integrity invariant. Our rule is modular: it allows reasoning about the behaviour of every operation separately under some assumption on the behaviour of other operations. This leads to simple reasoning, which we have automated in an SMT-based tool. We present a nontrivial proof of soundness of our rule and illustrate its use on several examples.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/hal-01243192
Contributor : Marc Shapiro <>
Submitted on : Monday, December 14, 2015 - 4:11:22 PM
Last modification on : Thursday, October 10, 2019 - 4:34:03 PM
Long-term archiving on : Saturday, April 29, 2017 - 1:23:54 PM

Identifiers

Citation

Alexey Gotsman, Hongseok Yang, Carla Ferreira, Mahsa Najafzadeh, Marc Shapiro. 'Cause I'm Strong Enough: Reasoning about Consistency Choices in Distributed Systems. Symposium on Principles of Programming Languages, Jan 2016, Saint Petersburg, FL, United States. pp.371-384, ⟨10.1145/2837614.2837625⟩. ⟨hal-01243192⟩

Share

Metrics

Record views

447

Files downloads

1650