Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned Databases
Xinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael Stonebraker
摘要
This paper revisits the H-Store/VoltDB concurrency control scheme for partitioned main-memory databases, which we term run-tocompletion-single-thread (RCST), with an eye toward improving its poor performance on multi-partition (MP) workloads. The original scheme focused on maximizing single partition (SP) performance, producing results in millions of transactions per second on modest clusters, but at the expense of dismal MP performance. In this paper, we show that original RCST algorithms be made to dramatically improve MP performance with very limited impact on SP performance. That makes RCST superior to popular optimistic and pessimistic schemes without optimizations for batch execution, including OCC and 2PL, on a wide range of multi-node workloads with up to 60% throughput improvement. Our second contribution is to propose a multiplexed-executionsingle-thread (MEST) algorithm based on RCST to amortize the network stalls from MP transactions over a batch of MP transactions. This scheme delivers up to 21× higher throughput for SP transactions and comparable MP throughput compared to state-of-the-art distributed deterministic concurrency control algorithms that are optimized for batch execution. Finally, our MEST scheme offers dramatically superior performance when straggler transactions are present in the workload. Our conclusion is that the H-Store/VoltDB concurrency control scheme can be dramatically improved and dominates state-of-the-art algorithms over a variety of MP workloads.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Tigon: A Distributed Database for a CXL Pod 引用了 Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction Protocol
- Tigon: A Distributed Database for a CXL Pod 引用了 Epoch-based Commit and Replication in Distributed OLTP Databases
- Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction Protocol 引用了 Aria: A Fast and Practical Deterministic OLTP Database
- Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction Protocol 引用了 Epoch-based Commit and Replication in Distributed OLTP Databases
- Lion: Minimizing Distributed Transactions Through Adaptive Replica Provision 引用了 Aria: A Fast and Practical Deterministic OLTP Database
- Lion: Minimizing Distributed Transactions Through Adaptive Replica Provision 引用了 Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction Protocol
- Lion: Minimizing Distributed Transactions Through Adaptive Replica Provision 引用了 Epoch-based Commit and Replication in Distributed OLTP Databases
- R3: Record-Replay-Retroaction for Database-Backed Applications 引用了 Aria: A Fast and Practical Deterministic OLTP Database
- Epoch-based Commit and Replication in Distributed OLTP Databases 引用了 Aria: A Fast and Practical Deterministic OLTP Database
- Spectrum: Speedy and Strictly-Deterministic Smart Contract Transactions for Blockchain Ledgers 引用了 Aria: A Fast and Practical Deterministic OLTP Database
引用它的顶会 Paper9
- Tigon: A Distributed Database for a CXL PodYibo Huang, Haowei Chen, Newton Ni, Yan Sun 等OSDI 2025 · 12 次引用
- R3: Record-Replay-Retroaction for Database-Backed ApplicationsQian Li, Peter Kraft, Michael J. Cafarella, Çagatay Demiralp 等VLDB 2023 · 10 次引用
- Lion: Minimizing Distributed Transactions Through Adaptive Replica ProvisionQiushi Zheng, Zhanhao Zhao, Wei Lu, Chang Yao 等ICDE 2024 · 7 次引用
- Spectrum: Speedy and Strictly-Deterministic Smart Contract Transactions for Blockchain LedgersZhihao Chen, Tianji Yang, Yixiao Zheng, Zhao Zhang 等VLDB 2024 · 7 次引用
- Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction ProtocolZiliang Lai, Hua Fan, Wenchao Zhou, Zhanfeng Ma 等ICDE 2023 · 6 次引用
它引用的 Paper4
- ByShard: Sharding in a Byzantine EnvironmentJelle Hellings, Mohammad SadoghiVLDB 2021 · 103 次引用
- Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 次引用
- DBOS: A DBMS-oriented Operating SystemAthinagoras Skiadopoulos, Qian Li, Peter Kraft, Kostis Kaffes 等VLDB 2022 · 31 次引用
- Aria: A Fast and Practical Deterministic OLTP DatabaseYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2020
相关 Paper
- Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 次引用
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
- Massively Parallel Multi-Versioned Transaction ProcessingShujian Qian, Ashvin GoelOSDI 2024 · 5 次引用
- Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 次引用
- Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie 等SIGMOD 2023 · 8 次引用
