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.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper1
问问它们各自怎么用它它引用的顶会 Paper2
相关 Paper
- ScaleDB: A Scalable, Asynchronous In-Memory DatabaseSyed Akbar Mehdi, Deukyeon Hwang, Simon Peter, Lorenzo AlvisiOSDI 2023 · 被引用 3 次
- RCC: Resilient Concurrent Consensus for High-Throughput Secure Transaction ProcessingSuyash Gupta, Jelle Hellings, Mohammad SadoghiICDE 2021 · 被引用 72 次
- Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang 等SIGMOD 2026
- Rolis: a software approach to efficiently replicating multi-core transactionsWeihai Shen, Ansh Khanna, Sebastian Angel, Siddhartha Sen 等EuroSys 2022 · 被引用 1 次
- Tiga: Accelerating Geo-Distributed Transactions with Synchronized ClocksJinkun Geng, Shuai Mu, Anirudh Sivaraman, Balaji PrabhakarSOSP 2025 · 被引用 2 次
