Skip to Main content Skip to Navigation
New interface
Conference papers

'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 metadata
Contributor : Marc Shapiro Connect in order to contact the contributor
Submitted on : Monday, December 14, 2015 - 4:11:22 PM
Last modification on : Saturday, August 6, 2022 - 3:46:33 AM
Long-term archiving on: : Saturday, April 29, 2017 - 1:23:54 PM



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⟩



Record views


Files downloads