NCC: Natural Concurrency Control for Strictly Serializable Datastores by Avoiding the Timestamp-Inversion Pitfall
Haonan Lu, Shuai Mu, Siddhartha Sen, Wyatt Lloyd
摘要
Strictly serializable datastores greatly simplify the development of correct applications by providing strong consistency guarantees. However, existing techniques pay unnecessary costs for naturally consistent transactions, which arrive at servers in an order that is already strictly serializable. We find these transactions are prevalent in datacenter workloads. We exploit this natural arrival order by executing transaction requests with minimal costs while optimistically assuming they are naturally consistent, and then leverage a timestamp-based technique to efficiently verify if the execution is indeed consistent. In the process of designing such a timestamp-based technique, we identify a fundamental pitfall in relying on timestamps to provide strict serializability, and name it the timestamp-inversion pitfall. We find timestamp-inversion has affected several existing works. We present Natural Concurrency Control (NCC), a new concurrency control technique that guarantees strict serializability and ensures minimal costs -- i.e., one-round latency, lock-free, and non-blocking execution -- in the best (and common) case by leveraging natural consistency. NCC is enabled by three key components: non-blocking execution, decoupled response control, and timestamp-based consistency check. NCC avoids timestamp-inversion with a new technique: response timing control, and proposes two optimization techniques, asynchrony-aware timestamps and smart retry, to reduce false aborts. Moreover, NCC designs a specialized protocol for read-only transactions, which is the first to achieve the optimal best-case performance while ensuring strict serializability, without relying on synchronized clocks. Our evaluation shows that NCC outperforms state-of-the-art solutions by an order of magnitude on many workloads.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper8
- K2: On Optimizing Distributed Transactions in a Multi-region Data Store with True-time ClocksHaoze Song, Yongqi Wang, Xusheng Chen, Hao Feng 等VLDB 2025 · 被引用 7 次
- VerIso: Verifiable Isolation Guarantees for Database TransactionsShabnam Ghasemirad, Si Liu, Christoph Sprenger, Luca Multazzu 等VLDB 2025 · 被引用 6 次
- Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel 等OSDI 2025 · 被引用 4 次
- Boosting End-to-End Database Isolation Checking via Mini-TransactionsHengfeng Wei, Jiang Xiao, Na Yang, Si Liu 等ICDE 2025 · 被引用 3 次
- Accelerating Skewed Workloads With Performance Multipliers in the TurboDB Distributed DatabaseJennifer Lam, Jeffrey Helt, Wyatt Lloyd, Haonan LuNSDI 2024 · 被引用 3 次
它引用的顶会 Paper2
相关 Paper
- Aurogon: Taming Aborts in All Phases for Distributed In-Memory TransactionsTianyang Jiang, Guangyan Zhang, Zhiyue Li, Weimin ZhengFAST 2022 · 被引用 10 次
- Focus! Fast On-disk Concurrency-control Using SketchesDeukyeon Hwang, Alexander Conway, Carlos Garcia-Alvarado, Jun Yuan 等SIGMOD 2026
- Repairing serializability bugs in distributed database programs via automated schema refactoringKia Rahmani, Kartik Nagar, Benjamin Delaware, Suresh JagannathanPLDI 2021 · 被引用 4 次
- Tiga: Accelerating Geo-Distributed Transactions with Synchronized ClocksJinkun Geng, Shuai Mu, Anirudh Sivaraman, Balaji PrabhakarSOSP 2025 · 被引用 2 次
- Morty: Scaling Concurrency Control with Re-ExecutionMatthew Burke, Florian Suri-Payer, Jeffrey Helt, Lorenzo Alvisi 等EuroSys 2023 · 被引用 7 次
