Putting consistency back into eventual consistency
Open Access
- 17 April 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-16
Abstract
International audienceGeo-replicated storage systems are at the core of current Internet services. The designers of the replication protocols used by these systems must choose between either supporting low-latency, eventually-consistent operations, or ensuring strong consistency to ease application correctness. We propose an alternative consistency model, Explicit Consistency, that strengthens eventual consistency with a guarantee to preserve specific invariants defined by the applications. Given these application-specific invariants, a system that supports Explicit Consistency identifies which operations would be unsafe under concurrent execution, and allows programmers to select either violation-avoidance or invariant-repair techniques. We show how to achieve the former, while allowing operations to complete locally in the common case, by relying on a reservation system that moves coordination off the critical path of operation execution. The latter, in turn, allows operations to execute without restriction, and restore invariants by applying a repair operation to the database state. We present the design and evaluation of Indigo, a middleware that provides Explicit Consistency on top of a causally-consistent data store. Indigo guarantees strong application invariants while providing similar latency to an eventually-consistent system in the common caseKeywords
This publication has 35 references indexed in Scilit:
- CassandraACM SIGOPS Operating Systems Review, 2010
- VCC: A Practical System for Verifying Concurrent C2009
- Z3: An Efficient SMT Solver2008
- A formal characterization of epsilon serializabilityIEEE Transactions on Knowledge and Data Engineering, 1995
- The demarcation protocol: A technique for maintaining constraints in distributed database systemsThe VLDB Journal, 1994
- The temporal logic of actionsACM Transactions on Programming Languages and Systems, 1994
- The existence of refinement mappingsTheoretical Computer Science, 1991
- The Escrow transactional methodACM Transactions on Database Systems, 1986
- Using semantic knowledge for transaction processing in a distributed databaseACM Transactions on Database Systems, 1983
- An axiomatic basis for computer programmingCommunications of the ACM, 1969