Pushing the Limit: Verified Performance-Optimal Causally-Consistent Database Transactions
Shabnam Ghasemirad, Christoph Sprenger, Si Liu, Luca Multazzu, David Basin
TL;DR
The paper tackles enabling high-performance, causally consistent transactions in geo-distributed databases by introducing Eiger-PORT+, a protocol that achievesTransactional Causal Consistency with convergence ($TCCv$). It provides a deductive, machine-checked verification in Isabelle/HOL and a refinement-based proof strategy to handle inverted commits, refuting the prior conjecture that $TCC$ is the strongest PORT isolation under transactional writes. The authors also demonstrate superiority in performance over state-of-the-art protocols, reporting up to 1.8x throughput improvement over Eiger-PORT and 2.5x over Eiger, while maintaining convergence and low latency. This work establishes the feasibility of performance-optimal, convergent causal consistency in distributed transactions and offers a rigorous blueprint for verifying complex concurrency control protocols.
Abstract
Modern web services crucially rely on high-performance distributed databases, where concurrent transactions are isolated from each other using concurrency control protocols. Relaxed isolation levels, which permit more complex concurrent behaviors than strong levels like serializability, are used in practice for higher performance and availability. In this paper, we present Eiger-PORT+, a concurrency control protocol that achieves a strong form of causal consistency, called TCCv (Transactional Causal Consistency with convergence). We show that Eiger-PORT+ also provides performance-optimal read transactions in the presence of transactional writes, thus refuting an open conjecture that this is impossible for TCCv. We also deductively verify that Eiger-PORT+ satisfies this isolation level by refining an abstract model of transactions. This yields the first deductive verification of a complex concurrency control protocol. Furthermore, we conduct a performance evaluation showing Eiger-PORT+'s superior performance over the state-of-the-art.
