Eventual Durability
Tejasvi Kashi, Kenneth Salem, Jaemyung Kim, Khuzaima Daudjee
Abstract
For latency-critical transactional applications, durability is often what limits performance. That is, executing transactions is fast, but guaranteeing that they are durable is slow. As a result, most of each transaction's latency is attributable to durability. To address this problem, some database systems allow applications to sacrifice durability guarantees in exchange for lower transaction latencies. These ad hoc techniques are effective, but they can make it difficult for applications to understand and manage the risks associated with failures. In this paper, our goal is to offer a more principled foundation for these kinds of performance/durability tradeoffs. The major obstacle to doing this is the transaction model itself, because it couples transaction durability with transaction commit. That is, the model defines a single point at which a transaction becomes visible and durable. This forces all transaction guarantees to wait for the slowest one, which is often durability.
The primary contribution of this work is a new eventually durable transaction model, which decouples commit from durability. Transactions commit first, and become durable later. We argue for making this model the basis of the contract between transactional data systems and applications. We describe what it means to correctly implement eventually durable transactions, and consider how they can be exposed to applications. We also describe a prototype implementation of eventual durability in PostgreSQL, and show that it enables applications to reduce transaction latencies while managing the durability risks.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 093b5d0f-238b-40d2-b43e-a9c00058d245Builds on3
- Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 citations
- Strong and Efficient Consistency with Consistency-Aware DurabilityAishwarya Ganesan, Ramnatthan Alagappan, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauFAST 2020 · 22 citations
- Asynchronous Prefix Recoverability for Fast Distributed StoresTianyu Li, Badrish Chandramouli, Jose M. Faleiro, Samuel Madden et al.SIGMOD 2021 · 7 citations
Related papers
- Distributed Data PersistencyApostolos Kokolis, Antonis Psistakis, Benjamin Reidys, Jian Huang et al.MICRO 2021 · 7 citations
- Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction ProtocolZiliang Lai, Hua Fan, Wenchao Zhou, Zhanfeng Ma et al.ICDE 2023 · 6 citations
- UniStore: A fault-tolerant marriage of causal and strong consistencyManuel Bravo, Alexey Gotsman, Borja de Régil, Hengfeng WeiUSENIX ATC 2021 · 1 citation
- Moving on From Group Commit: Autonomous Commit Enables High Throughput and Low Latency on NVMe SSDsLam-Duy Nguyen, Adnan Alhomssi, Tobias Ziegler, Viktor LeisSIGMOD 2025 · 3 citations
- Regular Sequential Serializability and Regular Sequential ConsistencyJeffrey Helt, Matthew Burke, Amit Levy, Wyatt LloydSOSP 2021 · 4 citations
