Lune

SIGMOD2026顶会

LeaseGuard: Raft Leases Done Right

A. Jesse Jiryu Davis, Murat Demirbas, Lingzhi Deng

摘要

Raft is a leading consensus algorithm for replicating writes in distributed databases. However, distributed databases also require consistent reads. To guarantee read consistency, a Raft-based system must either accept the high communication overhead of a safety check for each read, or implement leader leases. Prior lease protocols are vaguely specified and hurt availability, so most Raft systems implement them incorrectly or not at all. We introduce LeaseGuard, a novel lease algorithm that relies on guarantees specific to Raft elections. LeaseGuard is simple, rigorously specified in TLA+, and includes two novel optimizations that maximize availability during leader failover. The first optimization restores write throughput quickly, and the second improves read availability. We evaluate LeaseGuard with a simulation in Python and an implementation in LogCabin, the C++ reference implementation of Raft. By replacing LogCabin's default consistency mechanism (quorum checks), Lease-Guard reduces the overhead of consistent reads from one to zero network roundtrips. It also improves write throughput from ∼1000 to ∼10,000 writes per second, by eliminating contention between writes and quorum reads. Whereas traditional leases ban all reads on a new leader while it waits for a lease, in our LeaseGuard test the new leader instantly allows 99% of reads to succeed.

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Metastable Failures in the Wild 引用了 Fault-Tolerant Replication with Pull-Based Consensus in MongoDB
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper4

  1. Metastable Failures in the WildLexiang Huang, Matthew Magnusson, Abishek Bangalore Muralikrishna, Salman Estyak 等OSDI 2022 · 38 次引用
  2. Fault-Tolerant Replication with Pull-Based Consensus in MongoDBSiyuan Zhou, Shuai MuNSDI 2021 · 38 次引用
  3. Detock: High Performance Multi-region Transactions at ScaleCuong D. T. Nguyen, Johann K. Miller, Daniel J. AbadiSIGMOD 2023 · 14 次引用
  4. Timestamp as a Service, not an OracleYishuai Li, Yunfeng Zhu, Chao Shi, Guanhua Zhang 等VLDB 2024 · 4 次引用

相关 Paper

  1. CARTEL: Consensus Adapting Real-Time and Efficient LoggingSeunghoon Lee, Wonyeong Lee, Seungyeon Cho, Seongtae Lee 等RTSS 2025
  2. LSM-Raft: Optimizing Raft for LSM-tree StoreXiaojian Zhang, Xinyu Tan, Shaoxu Song, Xiangdong Huang 等SIGMOD 2026 · 1 次引用
  3. Nezha: A Key-Value Separated Distributed Store with Optimized Raft IntegrationYangyang Wang, Yucong Dong, Ziqian Cheng, Zichen XuICDE 2026
  4. Cabinet: Dynamically Weighted Consensus Made FastGengrui Zhang, Shiquan Zhang, Michail Bachras, Yuqiu Zhang 等VLDB 2025 · 1 次引用
  5. GeoLM: Performance-oriented Leader Management for Geo-Distributed Consensus ProtocolDuling Xu, Dafang Zhang, Tong Li, Yunpeng Chai 等INFOCOM 2025 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖