Lune

OSDI2023Top-tier venue

Chardonnay: Fast and General Datacenter Transactions for On-Disk Databases

Tamer Eldeeb, Xincheng Xie, Philip A. Bernstein, Asaf Cidon, Junfeng Yang

Abstract

Distributed on-disk database systems could either use an expensive commit protocol like two-phase commit (2PC) to guarantee atomicity, and suffer from slow distributed transactions, or forgo 2PC, which lead to weaker semantics, limitations to the programming model, or constrained scalability, making the system less general. We argue this compromise is no longer necessary within modern datacenters. Low latency 2PC (∼150 µs on Azure for 2PC over Paxos) can be achieved using lowlatency storage for the relatively small transaction logs, fast RPCs, and careful protocol design. With fast 2PC, the data contention bottleneck for many transactions shifts from 2PC to reading the data itself from the relatively slow storage while holding transaction locks.

We present Chardonnay, a scalable, on-disk, multiversioned transactional key-value store optimized for single datacenter deployments with fast 2PC. Chardonnay has a general interface supporting point reads, scans, and writes within multi-step strictly serializable ACID transactions. The key mechanism underlying Chardonnay's design is strongly consistent snapshot reads on commodity hardware, using a novel lock-free read protocol. Chardonnay uses this protocol to cheaply determine the read-write sets of queries, enabling Chardonnay to transparently prefetch data needed for a transaction prior to the execution of the transaction and the acquisition of locks. This enables Chardonnay to achieve fast transactions by minimizing contention, and avoids aborts due to deadlocks by ordering lock requests.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Tigon: A Distributed Database for a CXL Pod cites Epoch-based Commit and Replication in Distributed OLTP Databases
  • Tigon: A Distributed Database for a CXL Pod cites Motor: Enabling Multi-Versioning for Distributed Transactions on Disaggregated Memory
  • Tigon: A Distributed Database for a CXL Pod cites FORD: Fast One-sided RDMA-based Distributed Transactions for Disaggregated Persistent Memory
  • Remora: Scale-out Deterministic Execution for Smart Contracts cites Tigon: A Distributed Database for a CXL Pod
  • Remora: Scale-out Deterministic Execution for Smart Contracts cites Epoch-based Commit and Replication in Distributed OLTP Databases
  • XRP: In-Kernel Storage Functions with eBPF cites The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
  • Mako: Speculative Distributed Transactions with Geo-Replication cites Epoch-based Commit and Replication in Distributed OLTP Databases
  • Mako: Speculative Distributed Transactions with Geo-Replication cites Motor: Enabling Multi-Versioning for Distributed Transactions on Disaggregated Memory
  • Principles and Methodologies for Serial Performance Optimization cites XRP: In-Kernel Storage Functions with eBPF
  • Motor: Enabling Multi-Versioning for Distributed Transactions on Disaggregated Memory cites FORD: Fast One-sided RDMA-based Distributed Transactions for Disaggregated Persistent Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Motor: Enabling Multi-Versioning for Distributed Transactions on Disaggregated MemoryMing Zhang, Yu Hua, Zhijun YangOSDI 2024 · 21 citations
  2. Tigon: A Distributed Database for a CXL PodYibo Huang, Haowei Chen, Newton Ni, Yan Sun et al.OSDI 2025 · 12 citations
  3. Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel et al.OSDI 2025 · 4 citations
  4. Principles and Methodologies for Serial Performance OptimizationSujin Park, Mingyu Guan, Xiang Cheng, Taesoo KimOSDI 2025 · 2 citations
  5. Remora: Scale-out Deterministic Execution for Smart ContractsZhengqing Liu, Alberto Sonnino, Igor Zablotchi, Eleftherios Kokoris-Kogias et al.VLDB 2026 · 1 citation

Builds on7

  1. Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB ExperienceSiying Dong, Andrew Kryczka, Yanqin Jin, Michael StummFAST 2021 · 110 citations
  2. XRP: In-Kernel Storage Functions with eBPFYuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas et al.OSDI 2022 · 100 citations
  3. FORD: Fast One-sided RDMA-based Distributed Transactions for Disaggregated Persistent MemoryMing Zhang, Yu Hua, Pengfei Zuo, Lurong LiuFAST 2022 · 97 citations
  4. The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter SystemsIrene Zhang, Amanda Raybuck, Pratyush Patel, Kirk Olynyk et al.SOSP 2021 · 83 citations
  5. Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 citations

Related papers

  1. Cornus: Atomic Commit for a Cloud DBMS with Storage DisaggregationZhihan Guo, Xinyu Zeng, Kan Wu, Wuh-Chwen Hwang et al.VLDB 2023 · 23 citations
  2. Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction ProtocolZiliang Lai, Hua Fan, Wenchao Zhou, Zhanfeng Ma et al.ICDE 2023 · 6 citations
  3. Epoxy: ACID Transactions Across Diverse Data StoresPeter Kraft, Qian Li, Xinjing Zhou, Peter Bailis et al.VLDB 2023 · 17 citations
  4. Caerus: Low-Latency Distributed Transactions for Geo-Replicated SystemsJoshua Hildred, Michael Abebe, Khuzaima DaudjeeVLDB 2024 · 10 citations
  5. IONIA: High-Performance Replication for Modern Disk-based KV StoresYi Xu, Henry Zhu, Prashant Pandey, Alex Conway et al.FAST 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines