Epoch-based Commit and Replication in Distributed OLTP Databases
Abstract
Many modern data-oriented applications are built on top of distributed OLTP databases for both scalability and high availability. Such distributed databases enforce atomicity, durability, and consistency through two-phase commit (2PC) and synchronous replication at the granularity of every single transaction. In this paper, we present COCO, a new distributed OLTP database that supports epoch-based commit and replication. The key idea behind COCO is that it separates transactions into epochs and treats a whole epoch of transactions as the commit unit. In this way, the overhead of 2PC and synchronous replication is significantly reduced. We support two variants of optimistic concurrency control (OCC) using physical time and logical time with various optimizations, which are enabled by the epoch-based execution. Our evaluation on two popular benchmarks (YCSB and TPC-C) show that COCO outperforms systems with fine-grained 2PC and synchronous replication by up to a factor of four.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
17 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Tigon: A Distributed Database for a CXL Pod cites Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned Databases
- Tigon: A Distributed Database for a CXL Pod cites Chardonnay: Fast and General Datacenter Transactions for On-Disk Databases
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned Databases cites Aria: A Fast and Practical Deterministic OLTP Database
- Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions cites Aria: A Fast and Practical Deterministic OLTP Database
Cited by top-tier papers17
- MadFS: Per-File Virtualization for Userspace Persistent Memory FilesystemsShawn Zhong, Chenhao Ye, Guanzhou Hu, Suyan Qu et al.FAST 2023 · 27 citations
- Fine-Grained Re-Execution for Efficient Batched Commit of Distributed TransactionsZhiyuan Dong, Zhaoguo Wang, Xiaodong Zhang, Xian Xu et al.VLDB 2023 · 16 citations
- Tigon: A Distributed Database for a CXL PodYibo Huang, Haowei Chen, Newton Ni, Yan Sun et al.OSDI 2025 · 12 citations
- Chardonnay: Fast and General Datacenter Transactions for On-Disk DatabasesTamer Eldeeb, Xincheng Xie, Philip A. Bernstein, Asaf Cidon et al.OSDI 2023 · 12 citations
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
Builds on1
Related papers
- 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
- Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang et al.SIGMOD 2026
- GeoGauss: Strongly Consistent and Light-Coordinated OLTP for Geo-Replicated SQL DatabaseWeixing Zhou, Qi Peng, Zijie Zhang, Yanfeng Zhang et al.SIGMOD 2023 · 10 citations
- Massively Parallel Multi-Versioned Transaction ProcessingShujian Qian, Ashvin GoelOSDI 2024 · 5 citations
- Sonata: Multi-Database Transactions Made Fast and SerializableChuzhe Tang, Zhaoguo Wang, Jinyang Li, Haibo ChenVLDB 2025 · 1 citation
