Lune

VLDB2020顶会

Opportunities for Optimism in Contended Main-Memory Multicore Transactions

Yihe Huang, William Qian, Eddie Kohler, Barbara Liskov, Liuba Shrira

摘要

Main-memory multicore transactional systems have achieved excellent performance using single-version optimistic concurrency control (OCC), especially on uncontended workloads. Nevertheless, systems based on other concurrency control protocols, such as hybrid OCC/ locking and variations on multiversion concurrency control (MVCC), are reported to outperform the best OCC systems, especially with increasing contention. This paper shows that implementation choices unrelated to concurrency control can explain some of these performance differences. Our evaluation shows the strengths and weaknesses of OCC, MVCC, and TicToc concurrency control under varying workloads and contention levels, and the importance of several implementation choices called basis factors . Given sensible basis factor choices, OCC performance does not collapse on high-contention TPC-C. We also present two optimization techniques, deferred updates and timestamp splitting , that can dramatically improve the high-contention performance of both OCC and MVCC. These techniques are known, but we apply them in a new context and highlight their potency: when combined, they lead to performance gains of 4.74×4.74\times 4.74 × for MVCC and 5.01×5.01\times 5.01 × for OCC in a TPC-C workload.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • When Private Blockchain Meets Deterministic Database 引用了 Caracal: Contention Management with Deterministic Concurrency Control
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper27

  1. Teseo and the Analysis of Structural Dynamic GraphsDean De Leo, Peter BonczVLDB 2021 · 65 次引用
  2. An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 40 次引用
  3. Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 次引用
  4. Plor: General Transactions with Predictable, Low Tail LatencyYoumin Chen, Xiangyao Yu, Paraschos Koutris, Andrea C. Arpaci-Dusseau 等SIGMOD 2022 · 25 次引用
  5. When Private Blockchain Meets Deterministic DatabaseZiliang Lai, Chris Liu, Eric LoSIGMOD 2023 · 22 次引用

相关 Paper

  1. Unifying Timestamp with Transaction Ordering for MVCC with Decentralized Scalar TimestampXingda Wei, Rong Chen, Haibo Chen, Zhaoguo Wang 等NSDI 2021 · 24 次引用
  2. Focus! Fast On-disk Concurrency-control Using SketchesDeukyeon Hwang, Alexander Conway, Carlos Garcia-Alvarado, Jun Yuan 等SIGMOD 2026
  3. Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie 等SIGMOD 2023 · 8 次引用
  4. Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 次引用
  5. OOCC: One-Round Optimistic Concurrency Control for Read-Only Disaggregated TransactionsHao Wu, Mingxing Zhang, Kang Chen, Xia Liao 等ICDE 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖