Lune

VLDB2025顶会

The LAW theorem: Local Reads and Linearizable Asynchronous Replication

Emmanouil Giortamis, Antonios Katsarakis, Vasilis Gavrielatos, Pramod Bhatotia, Aleksandar Dragojevic, Boris Grot, Vijay Nagarajan, Panagiota Fatourou

摘要

Distributed datastores underpin highly concurrent, read-intensive applications, ensuring consistency, availability, and performance. They use crash-tolerant protocols to replicate data and endure replica server crashes. To ensure safety and meet the performance demands, replication must support high-throughput, strongly consistent (i.e., linearizable) reads without assuming any synchrony. However, existing protocols either 1 relax consistency, or provide linearizable reads that are 2 fully asynchronous but remote (involving multiple replicas), or 3 local but require synchrony.

This work explores the tradeoffs between consistency, asynchrony, and performance in crash-tolerant protocols, and proves that in linearizable asynchronous read/write registers tolerating a single crash, no reads can be local. Building on this, we introduce almost-local reads (ALRs), a new abstraction that ensures crash tolerance and linearizability under asynchrony. While ALRs have slightly higher latency than local reads, they remain lightweight, with computation and network costs close to single-node reads.

We present two simple yet effective ALR schemes that enhance protocols across all three categories. For protocols with local reads, ALRs address consistency or synchrony issues with minimal throughput loss. In asynchronous linearizable protocols, they improve performance without compromises. Our evaluation shows that ALR-enhanced ZAB and Hermes achieve within 2% and 5% of their original throughput in 95% reads while ensuring linearizability under asynchrony. On Raft, ALRs deliver over 2.5x higher throughput without compromising consistency or asynchrony.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Zeus: locality-aware distributed transactions 引用了 Hermes: A Fast, Fault-Tolerant and Linearizable Replication Protocol
  • In-Network Leaderless Replication for Distributed Data Stores 引用了 Hermes: A Fast, Fault-Tolerant and Linearizable Replication Protocol
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper8

  1. HovercRaft: achieving scalability and fault-tolerance for microsecond-scale datacenter servicesMarios Kogias, Edouard BugnionEuroSys 2020 · 52 次引用
  2. Hermes: A Fast, Fault-Tolerant and Linearizable Replication ProtocolAntonios Katsarakis, Vasilis Gavrielatos, M. R. Siavash Katebzadeh, Arpit Joshi 等ASPLOS 2020 · 47 次引用
  3. Performance-Optimal Read-Only TransactionsHaonan Lu, Siddhartha Sen, Wyatt LloydOSDI 2020 · 31 次引用
  4. Zeus: locality-aware distributed transactionsAntonios Katsarakis, Yijun Ma, Zhaowei Tan, Andrew Bainbridge 等EuroSys 2021 · 20 次引用
  5. In-Network Leaderless Replication for Distributed Data StoresGyuyeong Kim, Wonjun LeeVLDB 2022 · 11 次引用

相关 Paper

  1. FLAIR: Accelerating Reads with Consistency-Aware Network RoutingHatem Takruri, Ibrahim Kettaneh, Ahmed Alquraan, Samer Al-KiswanyNSDI 2020 · 20 次引用
  2. LeaseGuard: Raft Leases Done RightA. Jesse Jiryu Davis, Murat Demirbas, Lingzhi DengSIGMOD 2026 · 2 次引用
  3. Nezha: A Key-Value Separated Distributed Store with Optimized Raft IntegrationYangyang Wang, Yucong Dong, Ziqian Cheng, Zichen XuICDE 2026
  4. FLEET: High-Performance Durable Replicated State Machines using Scattered and Coordinated Log EntriesHua Fan, Hao Tan, Wenchao Zhou, Feifei LiVLDB 2025 · 1 次引用
  5. Abraxas: Throughput-Efficient Hybrid Asynchronous ConsensusErica Blum, Jonathan Katz, Julian Loss, Kartik Nayak 等CCS 2023 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖