Plor: General Transactions with Predictable, Low Tail Latency
Youmin Chen, Xiangyao Yu, Paraschos Koutris, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-Dusseau, Jiwu Shu
摘要
We present pessimistic locking and optimistic reading (PLOR), a hybrid concurrency control protocol for in-memory transaction systems that delivers high throughput and low tail latency. PLOR is especially designed for high-contention workloads: for high throughput, transactions are allowed to access records without being blocked by lock conflicts in the read phase; for low tail latency, conflict detection is delayed to the commit phase, where old transactions are always committed first using the timestamps in the lock. We demonstrate the efficacy of this approach under a variety of setups (e.g., stored-procedures, interactive mode, and persistent logging, etc.). Experiments show that PLOR delivers close or comparable throughput to that of Silo and TicToc in stored-procedures, while reducing 99.9th percentile latency by 8.8x to 14.5x. In the interactive processing mode, PLOR even achieves up to 2x higher throughput.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention 引用了 Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention 引用了 Polyjuice: High-Performance Transactions via Learned Concurrency Control
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention 引用了 Towards Optimal Transaction Scheduling
- AlNiCo: SmartNIC-accelerated Contention-aware Request Scheduling for Transaction Processing 引用了 Polyjuice: High-Performance Transactions via Learned Concurrency Control
- AlNiCo: SmartNIC-accelerated Contention-aware Request Scheduling for Transaction Processing 引用了 Opportunities for Optimism in Contended Main-Memory Multicore Transactions
- AlNiCo: SmartNIC-accelerated Contention-aware Request Scheduling for Transaction Processing 引用了 Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
- Towards Optimal Transaction Scheduling 引用了 Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions
- Towards Optimal Transaction Scheduling 引用了 Polyjuice: High-Performance Transactions via Learned Concurrency Control
- A large scale analysis of hundreds of in-memory cache clusters at Twitter 引用了 Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
引用它的顶会 Paper8
- AlNiCo: SmartNIC-accelerated Contention-aware Request Scheduling for Transaction ProcessingJunru Li, Youyou Lu, Qing Wang, Jiazhen Lin 等USENIX ATC 2022 · 17 次引用
- Fine-Grained Re-Execution for Efficient Batched Commit of Distributed TransactionsZhiyuan Dong, Zhaoguo Wang, Xiaodong Zhang, Xian Xu 等VLDB 2023 · 16 次引用
- Towards Optimal Transaction SchedulingAudrey Cheng, Aaron N. Kabcenell, Jason Chan, Xiao Shi 等VLDB 2024 · 14 次引用
- Transactional Panorama: A Conceptual Framework for User Perception in Analytical Visual InterfacesDixin Tang, Alan D. Fekete, Indranil Gupta, Aditya G. ParameswaranVLDB 2023 · 3 次引用
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of ContentionQian Zhang, Yiwen Xiang, Jianhao Wei, Yang Yang 等VLDB 2025 · 1 次引用
它引用的 Paper4
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 次引用
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
- Polyjuice: High-Performance Transactions via Learned Concurrency ControlJia-Chen Wang, Ding Ding, Huan Wang, Conrad Christensen 等OSDI 2021 · 39 次引用
- Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020
相关 Paper
- Polaris: Enabling Transaction Priority in Optimistic Concurrency ControlChenhao Ye, Wuh-Chwen Hwang, Keren Chen, Xiangyao YuSIGMOD 2023 · 12 次引用
- 2PLSF: Two-Phase Locking with Starvation-FreedomPedro Ramalhete, Andreia Correia, Pascal FelberPPoPP 2023 · 7 次引用
- OOCC: One-Round Optimistic Concurrency Control for Read-Only Disaggregated TransactionsHao Wu, Mingxing Zhang, Kang Chen, Xia Liao 等ICDE 2025 · 4 次引用
- Brook-2PL: Tolerating High Contention Workloads with A Deadlock-Free Two-Phase Locking ProtocolFarzad Habibi, Juncheng Fang, Tania Lorido-Botran, Faisal NawabSIGMOD 2026 · 1 次引用
- An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 40 次引用
