Caracal: Contention Management with Deterministic Concurrency Control
Dai Qin, Angela Demke Brown, Ashvin Goel
摘要
Deterministic databases offer several benefits: they ensure serializable execution while avoiding concurrency-control related aborts, and they scale well in distributed environments. Today, most deterministic database designs use partitioning to scale up and avoid contention. However, partitioning requires significant programmer effort, leads to poor performance under skewed workloads, and incurs unnecessary overheads in certain uncontended workloads.
We present the design of Caracal, a novel shared-memory, deterministic database that performs well under both skew and contention. Our deterministic scheme batches transactions in epochs and executes the transactions in an epoch in a predetermined order. Our scheme enables reducing contention by batching concurrency control operations. It also allows analyzing the transactions in the epoch to determine contended keys accurately. Certain transactions can then be split into independent contended and uncontended pieces and run deterministically and in parallel, further reducing contention. Based on these ideas, we present two novel optimizations, batch append and split-on-demand, for managing contention. With these optimizations, Caracal scales well and outperforms existing deterministic schemes in most workloads by 1.9x to 9.7x.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper20
- NeuChain: A Fast Permissioned Blockchain System with Deterministic OrderingZeshun Peng, Yanfeng Zhang, Qian Xu, Haixu Liu 等VLDB 2022 · 被引用 42 次
- Efficient Distributed Transaction Processing in Heterogeneous NetworksQian Zhang, Jingyao Li, Hongyao Zhao, Quanqing Xu 等VLDB 2023 · 被引用 25 次
- When Private Blockchain Meets Deterministic DatabaseZiliang Lai, Chris Liu, Eric LoSIGMOD 2023 · 被引用 22 次
- C5: Cloned Concurrency Control That Always Keeps UpJeffrey Helt, Abhinav Sharma, Daniel J. Abadi, Wyatt Lloyd 等VLDB 2023 · 被引用 17 次
- Towards Optimal Transaction SchedulingAudrey Cheng, Aaron N. Kabcenell, Jason Chan, Xiao Shi 等VLDB 2024 · 被引用 14 次
它引用的顶会 Paper2
相关 Paper
- Integrating Non-Volatile Main Memory in a Deterministic DatabaseYu Chen Wang, Angela Demke Brown, Ashvin GoelEuroSys 2023 · 被引用 5 次
- DORADD: Deterministic Parallel Execution in the Era of Microsecond-Scale ComputingZhengqing Liu, Musa Unal, Matthew J. Parkinson, Marios KogiasPPoPP 2025 · 被引用 3 次
- Don't Look Back, Look into the Future: Prescient Data Partitioning and Migration for Deterministic Database SystemsYu-Shan Lin, Ching Tsai, Tz-Yu Lin, Yun-Sheng Chang 等SIGMOD 2021 · 被引用 17 次
- Wait and See: A Delayed Transactions Partitioning Approach in Deterministic Database Systems for Better PerformanceYuan Sui, Xiaochun Yang, Bin Wang, Yujie Zhang 等SIGMOD 2025 · 被引用 2 次
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 被引用 11 次
