Lune

VLDB2023顶会

C5: Cloned Concurrency Control That Always Keeps Up

Jeffrey Helt, Abhinav Sharma, Daniel J. Abadi, Wyatt Lloyd, Jose M. Faleiro

摘要

Asynchronously replicated primary-backup databases are commonly deployed to improve availability and offload read-only transactions. To both apply replicated writes from the primary and serve read-only transactions, the backups implement a cloned concurrency control protocol. The protocol ensures read-only transactions always return a snapshot of state that previously existed on the primary. This compels the backup to exactly copy the commit order resulting from the primary’s concurrency control. Existing cloned concurrency control protocols guarantee this by limiting the backup’s parallelism. As a result, the primary’s concurrency control executes some workloads with more parallelism than these protocols. In this paper, we prove that this parallelism gap leads to unbounded replication lag, where writes can take arbitrarily long to replicate to the backup and which has led to catastrophic failures in production systems. We then design C5, the first cloned concurrency protocol to provide bounded replication lag. We implement two versions of C5: Our evaluation in MyRocks, a widely deployed database, demonstrates C5 provides bounded replication lag. Our evaluation in Cicada, a recent in-memory database, demonstrates C5 keeps up with even the fastest of primaries.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Caracal: Contention Management with Deterministic Concurrency Control 引用了 Opportunities for Optimism in Contended Main-Memory Multicore Transactions
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. FLEET: High-Performance Durable Replicated State Machines using Scattered and Coordinated Log EntriesHua Fan, Hao Tan, Wenchao Zhou, Feifei LiVLDB 2025 · 1 次引用

它引用的 Paper2

  1. Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
  2. Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 次引用

相关 Paper

  1. ScaleDB: A Scalable, Asynchronous In-Memory DatabaseSyed Akbar Mehdi, Deukyeon Hwang, Simon Peter, Lorenzo AlvisiOSDI 2023 · 3 次引用
  2. RCC: Resilient Concurrent Consensus for High-Throughput Secure Transaction ProcessingSuyash Gupta, Jelle Hellings, Mohammad SadoghiICDE 2021 · 72 次引用
  3. Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang 等SIGMOD 2026
  4. Rolis: a software approach to efficiently replicating multi-core transactionsWeihai Shen, Ansh Khanna, Sebastian Angel, Siddhartha Sen 等EuroSys 2022 · 1 次引用
  5. Tiga: Accelerating Geo-Distributed Transactions with Synchronized ClocksJinkun Geng, Shuai Mu, Anirudh Sivaraman, Balaji PrabhakarSOSP 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖