NCC: Natural Concurrency Control for Strictly Serializable Datastores by Avoiding the Timestamp-Inversion Pitfall
Haonan Lu, Shuai Mu, Siddhartha Sen, Wyatt Lloyd

TL;DR
NCC is a novel concurrency control method that guarantees strict serializability with minimal latency by exploiting natural transaction order and avoiding timestamp-inversion pitfalls, significantly improving performance.
Contribution
It introduces NCC, a new strict serializability technique that leverages natural transaction order, avoids timestamp-inversion, and achieves minimal-cost, lock-free execution.
Findings
NCC outperforms existing solutions by an order of magnitude.
It guarantees strict serializability with one-round latency.
NCC effectively handles read-only transactions without synchronized clocks.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Parallel Computing and Optimization Techniques · Cloud Computing and Resource Management
