Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction Protocol
Ziliang Lai, Hua Fan, Wenchao Zhou, Zhanfeng Ma, Xiang Peng, Feifei Li, Eric Lo
Abstract
Two-phase-commit (2PC) has been widely adopted for distributed transaction processing, but it also jeopardizes throughput by introducing two rounds of network communications and two durable log writes to a transaction's critical path. Despite the various proposals that eliminate 2PC such as deterministic database and access localization, 2PC remains the de facto standard since the alternatives often lack generality (e.g., requiring workloads without branches based on query results). In this paper, we present Primo, a distributed transaction protocol that supports a more general set of workloads without 2PC. Primo features write-conflict-free concurrency control that guarantees once a transaction enters the commit phase, no concurrency conflict (e.g., deadlock) would occur when installing the write-set — hence the prepare phase is no longer needed to account for any potential conflict from any partition. In addition, Primo further optimizes the transaction path using asynchronous group commit. With that, the durability delay is also taken off the transaction's critical path. Empirical results on Primo are encouraging – in YCSB and TPC-C, Primo attains 1.42× to 8.25× higher throughput than state-of-the-art general protocols including Sundial and COCO, while having similar latency as COCO which also employs group commit.
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 508e77c5-974c-47f6-9d94-6b26e4c16ae2Cited by top-tier papers6
- Tigon: A Distributed Database for a CXL PodYibo Huang, Haowei Chen, Newton Ni, Yan Sun et al.OSDI 2025 · 12 citations
- Caerus: Low-Latency Distributed Transactions for Geo-Replicated SystemsJoshua Hildred, Michael Abebe, Khuzaima DaudjeeVLDB 2024 · 10 citations
- Lion: Minimizing Distributed Transactions Through Adaptive Replica ProvisionQiushi Zheng, Zhanhao Zhao, Wei Lu, Chang Yao et al.ICDE 2024 · 7 citations
- Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel et al.OSDI 2025 · 4 citations
- A Hybrid Approach to Integrating Deterministic and Non-deterministic Concurrency Control in Database SystemsYinhao Hong, Hongyao Zhao, Wei Lu, Xiaoyong Du et al.VLDB 2025 · 3 citations
Builds on10
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
- Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 citations
- Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 citations
- Taurus: Lightweight Parallel Logging for In-Memory Database Management SystemsYu Xia, Xiangyao Yu, Andrew Pavlo, Srinivas DevadasVLDB 2021 · 22 citations
- Zeus: locality-aware distributed transactionsAntonios Katsarakis, Yijun Ma, Zhaowei Tan, Andrew Bainbridge et al.EuroSys 2021 · 20 citations
Related papers
- Fast Commitment for Geo-Distributed Transactions via Decentralized Co-coordinatorsZihao Zhang, Huiqi Hu, Xuan Zhou, Yaofeng Tu et al.VLDB 2024 · 3 citations
- Polaris: Enabling Transaction Priority in Optimistic Concurrency ControlChenhao Ye, Wuh-Chwen Hwang, Keren Chen, Xiangyao YuSIGMOD 2023 · 12 citations
- OOCC: One-Round Optimistic Concurrency Control for Read-Only Disaggregated TransactionsHao Wu, Mingxing Zhang, Kang Chen, Xia Liao et al.ICDE 2025 · 4 citations
- Sonata: Multi-Database Transactions Made Fast and SerializableChuzhe Tang, Zhaoguo Wang, Jinyang Li, Haibo ChenVLDB 2025 · 1 citation
- Aria: A Fast and Practical Deterministic OLTP DatabaseYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2020
