Proceedings of the VLDB Endowment · 2014 · 189 citations · 63 references
ComputingComputer ScienceComputer SystemsDatabasesDistributed SystemsFormal MethodsConcurrency ControlDatabase ManagementDistributed DatabasesDistributed TransactionsTransaction CoordinationTransaction ManagementCoordinationDatabase Management SystemsDatabase TransactionsIntegrity ConstraintsInvariantsScalabilitySerializabilityTransactions
Minimizing coordination, or blocking communication between concurrently executing operations, is key to maximizing scalability, availability, and high performance in database systems. However, uninhibited coordination-free execution can compromise application correctness, or consistency. When is coordination necessary for correctness? The classic use of serializable transactions is sufficient to maintain correctness but is not necessary for all applications, sacrificing potential scalability. In this paper, we develop a formal framework, invariant confluence, that determines whether an application requires coordination for correct execution. By operating on application-level invariants over database states (e.g., integrity constraints), invariant confluence analysis provides a necessary and sufficient condition for safe, coordination-free execution. When programmers specify their application invariants, this analysis allows databases to coordinate only when anomalies that might violate invariants are possible. We analyze the invariant confluence of common invariants and operations from real-world database systems (i.e., integrity constraints) and applications and show that many are invariant confluent and therefore achievable without coordination. We apply these results to a proof-of-concept coordination-avoiding database prototype and demonstrate sizable performance gains compared to serializable execution, notably a 25-fold improvement over prior TPC-C New-Order performance on a 200 server cluster.
63
Giuseppe DeCandia, Deniz Hastorun, Madan Jampani et al. · 2007 · 3.5K citations
The notions of consistency and predicate locks in a database system
Kapali P. Eswaran, Jim Gray, Raymond A. Lorie et al. · Communications of the ACM · 1976 · 2K citations · Full text
Werner Vogels · Communications of the ACM · 2008 · 1K citations · Full text
Brian F. Cooper, Raghu Ramakrishnan, Utkarsh Srivastava et al. · Proceedings of the VLDB Endowment · 2008 · 960 citations