Polyjuice: High-Performance Transactions via Learned Concurrency Control
Jia-Chen Wang, Ding Ding, Huan Wang, Conrad Christensen, Zhaoguo Wang, Haibo Chen, Jinyang Li
摘要
Concurrency control algorithms are key determinants of the performance of in-memory databases. Existing algorithms are designed to work well for certain workloads. For example, optimistic concurrency control (OCC) is better than twophase-locking (2PL) under low contention, while the converse is true under high contention. To adapt to different workloads, prior works mix or switch between a few known algorithms using manual insights or simple heuristics. We propose a learning-based framework that instead explicitly optimizes concurrency control via offline training to maximize performance. Instead of choosing among a small number of known algorithms, our approach searches in a "policy space" of fine-grained actions, resulting in novel algorithms that can outperform existing algorithms by specializing to a given workload. We build Polyjuice based on our learning framework and evaluate it against several existing algorithms. Under different configurations of TPC-C and TPC-E, Polyjuice can achieve throughput numbers higher than the best of existing algorithms by 15% to 56%. Interleaving control Validation Read Read Write Write Early Validation wait version wait visibility validation method 2PL * Until T dep latest Until T dep Yes Yes n/a commits committed commits OCC [28] No latest No No No physical cts TicToc [68] committed No logical cts Sundial [69]
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper19
- FORD: Fast One-sided RDMA-based Distributed Transactions for Disaggregated Persistent MemoryMing Zhang, Yu Hua, Pengfei Zuo, Lurong LiuFAST 2022 · 被引用 97 次
- Plor: General Transactions with Predictable, Low Tail LatencyYoumin Chen, Xiangyao Yu, Paraschos Koutris, Andrea C. Arpaci-Dusseau 等SIGMOD 2022 · 被引用 25 次
- Motor: Enabling Multi-Versioning for Distributed Transactions on Disaggregated MemoryMing Zhang, Yu Hua, Zhijun YangOSDI 2024 · 被引用 21 次
- AdaChain: A Learned Adaptive BlockchainChenyuan Wu, Bhavana Mehta, Mohammad Javad Amiri, Ryan Marcus 等VLDB 2023 · 被引用 20 次
- AlNiCo: SmartNIC-accelerated Contention-aware Request Scheduling for Transaction ProcessingJunru Li, Youyou Lu, Qing Wang, Jiazhen Lin 等USENIX ATC 2022 · 被引用 17 次
它引用的顶会 Paper3
- Learning Relaxed Belady for Content Distribution Network CachingZhenyu Song, Daniel S. Berger, Kai Li, Wyatt LloydNSDI 2020 · 被引用 193 次
- QuickSel: Quick Selectivity Learning with Mixture ModelsYongjoo Park, Shucheng Zhong, Barzan MozafariSIGMOD 2020 · 被引用 66 次
- Meerkat: multicore-scalable replicated transactions following the zero-coordination principleAdriana Szekeres, Michael J. Whittaker, Jialin Li, Naveen Kr. Sharma 等EuroSys 2020 · 被引用 11 次
相关 Paper
- Modeling Concurrency Control as a Learnable FunctionHexiang Pan, Shaofeng Cai, Tien Tuan Anh Dinh, Yuncheng Wu 等SIGMOD 2026 · 被引用 5 次
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-ActionsWilliam Zhang, Wan Shen Lim, Matthew Butrovich, Andrew PavloVLDB 2024 · 被引用 13 次
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 被引用 60 次
- An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 被引用 40 次
- Polaris: Enabling Transaction Priority in Optimistic Concurrency ControlChenhao Ye, Wuh-Chwen Hwang, Keren Chen, Xiangyao YuSIGMOD 2023 · 被引用 12 次
