Lune

SIGMOD2024顶会

OptiQL: Robust Optimistic Locking for Memory-Optimized Indexes

Ge Shi, Ziyi Yan, Tianzheng Wang

摘要

Modern memory-optimized indexes often use optimistic locks for concurrent accesses. Read operations can proceed optimistically without taking the lock, greatly improving performance on multicore CPUs. But this is at the cost of robustness against contention where many threads contend on a small set of locks, causing excessive cacheline invalidation, interconnect traffic and eventually performance collapse. Yet existing solutions often sacrifice desired properties such as compact 8-byte lock size and fairness among lock requesters. This paper presents optimistic queuing lock (OptiQL), a new optimistic lock for database indexing to solve this problem. OptiQL extends the classic MCS lock---a fair, compact and robust mutual exclusion lock---with optimistic read capabilities for index workloads to achieve both robustness and high performance while maintaining various desirable properties. Evaluation using memory-optimized B+-trees on a 40-core, dual-socket server shows that OptiQL matches existing optimistic locks for read operations, while avoiding performance collapse under high contention.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • APEX: A High-Performance Learned Index on Persistent Memory 引用了 ALEX: An Updatable Adaptive Learned Index
  • APEX: A High-Performance Learned Index on Persistent Memory 引用了 Dash: Scalable Hashing on Persistent Memory
  • APEX: A High-Performance Learned Index on Persistent Memory 引用了 Evaluating Persistent Memory Range Indexes
  • Dash: Scalable Hashing on Persistent Memory 引用了 Evaluating Persistent Memory Range Indexes
  • FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update 引用了 ALEX: An Updatable Adaptive Learned Index
  • FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update 引用了 APEX: A High-Performance Learned Index on Persistent Memory
  • Plush: A Write-Optimized Persistent Log-Structured Hash-Table 引用了 Dash: Scalable Hashing on Persistent Memory
  • Plush: A Write-Optimized Persistent Log-Structured Hash-Table 引用了 Evaluating Persistent Memory Range Indexes
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. DEX: Scalable Range Indexing on Disaggregated MemoryBaotong Lu, Kaisong Huang, Chieh-Jan Mike Liang, Tianzheng Wang 等VLDB 2024 · 17 次引用
  2. ShiftLock: Mitigate One-sided RDMA Lock Contention via HandoverJian Gao, Qing Wang, Jiwu ShuFAST 2025 · 10 次引用
  3. Predictive Translation: High-Performance Buffer Management Without the Trade-OffsMichael Zinsmeister, Lam-Duy Nguyen, Viktor Leis, Thomas NeumannSIGMOD 2026 · 3 次引用
  4. FB+-tree: A Memory-Optimized B+-tree with Latch-Free UpdateYuan Chen, Ao Li, Wenhai Li, Lingfeng DengVLDB 2025 · 2 次引用
  5. FlexGuard: Fast Mutual Exclusion Independent of SubscriptionVictor Laforet, Sanidhya Kashyap, Calin Iorgulescu, Julia Lawall 等SOSP 2025

它引用的 Paper5

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
  2. Evaluating Persistent Memory Range IndexesLucas Lersch, Xiangpeng Hao, Ismail Oukid, Tianzheng Wang 等VLDB 2020 · 97 次引用
  3. APEX: A High-Performance Learned Index on Persistent MemoryBaotong Lu, Jialin Ding, Eric Lo, Umar Farooq Minhas 等VLDB 2022 · 73 次引用
  4. Plush: A Write-Optimized Persistent Log-Structured Hash-TableLukas Vogel, Alexander van Renen, Satoshi Imamura, Jana Giceva 等VLDB 2022 · 27 次引用
  5. Dash: Scalable Hashing on Persistent MemoryBaotong Lu, Xiangpeng Hao, Tianzheng Wang, Eric LoVLDB 2020 · 8 次引用

相关 Paper

  1. Operation-aware Hybrid Locking for Modern In-Memory IndexesVishal Gupta, Martin Sanchez Lopez, Victor Laforet, Jean-Pierre Lozi 等VLDB 2026
  2. Fairer and More Scalable Reader-Writer Locks by Optimizing Queue ManagementTakashi Hoshino, Kenjiro TauraPPoPP 2025 · 1 次引用
  3. Reciprocating LocksDave Dice, Alex KoganPPoPP 2025 · 1 次引用
  4. Polaris: Enabling Transaction Priority in Optimistic Concurrency ControlChenhao Ye, Wuh-Chwen Hwang, Keren Chen, Xiangyao YuSIGMOD 2023 · 12 次引用
  5. Efficient, Scalable, and Fair Locking on Disaggregated Memory with Decentralized CoordinationHanze Zhang, Ke Cheng, Rong Chen, Xingda Wei 等VLDB 2026
黄昏的海面,两侧是细线勾勒的悬崖