Virtual Consensus in Delos
Mahesh Balakrishnan, Jason Flinn, Chen Shen, Mihir Dharamshi, Ahmed Jafri, Xiao Shi, Santosh Ghosh, Hazem Hassan, Aaryaman Sagar, Rhed Shi, Jingming Liu, Filip Gruszczynski
摘要
Consensus-based replicated systems are complex, monolithic, and difficult to upgrade once deployed. As a result, deployed systems do not benefit from innovative research, and new consensus protocols rarely reach production. We propose virtualizing consensus by virtualizing the shared log API, allowing services to change consensus protocols without downtime. Virtualization splits the logic of consensus into the VirtualLog, a generic and reusable reconfiguration layer; and pluggable ordering protocols called Loglets. Loglets are simple, since they do not need to support reconfiguration or leader election; diverse, consisting of different protocols, codebases, and even deployment modes; and composable, via RAID-like stacking and striping. We describe a production database called Delos 1 which leverages virtual consensus for rapid, incremental development and deployment. Delos reached production within 8 months, and 4 months later upgraded its consensus protocol without downtime for a 10X latency improvement. Delos can dynamically change its performance properties by changing consensus protocols: we can scale throughput by up to 10X by switching to a disaggregated Loglet, and double the failure threshold of an instance without sacrificing throughput via a striped Loglet.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 HovercRaft: achieving scalability and fault-tolerance for microsecond-scale datacenter services
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Boki: Stateful Serverless Computing with Shared Logs
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- Boki: Stateful Serverless Computing with Shared Logs 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- Fault-Tolerant Replication with Pull-Based Consensus in MongoDB 引用了 PigPaxos: Devouring the Communication Bottlenecks in Distributed Consensus
引用它的顶会 Paper25
- Twine: A Unified Cluster Management System for Shared InfrastructureChunqiang Tang, Kenny Yu, Kaushik Veeraraghavan, Jonathan Kaldor 等OSDI 2020 · 107 次引用
- Boki: Stateful Serverless Computing with Shared LogsZhipeng Jia, Emmett WitchelSOSP 2021 · 81 次引用
- Fault-Tolerant Replication with Pull-Based Consensus in MongoDBSiyuan Zhou, Shuai MuNSDI 2021 · 38 次引用
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 次引用
- Fine-Grained Re-Execution for Efficient Batched Commit of Distributed TransactionsZhiyuan Dong, Zhaoguo Wang, Xiaodong Zhang, Xian Xu 等VLDB 2023 · 16 次引用
它引用的 Paper6
- Twine: A Unified Cluster Management System for Shared InfrastructureChunqiang Tang, Kenny Yu, Kaushik Veeraraghavan, Jonathan Kaldor 等OSDI 2020 · 107 次引用
- PigPaxos: Devouring the Communication Bottlenecks in Distributed ConsensusAleksey Charapko, Ailidani Ailijiang, Murat DemirbasSIGMOD 2021 · 55 次引用
- HovercRaft: achieving scalability and fault-tolerance for microsecond-scale datacenter servicesMarios Kogias, Edouard BugnionEuroSys 2020 · 52 次引用
- Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared LogCong Ding, David Chu, Evan Zhao, Xiang Li 等NSDI 2020 · 52 次引用
- Gryff: Unifying Consensus and Shared RegistersMatthew Burke, Audrey Cheng, Wyatt LloydNSDI 2020 · 29 次引用
相关 Paper
- Log-structured Protocols in DelosMahesh Balakrishnan, Chen Shen, Ahmed Jafri, Suyog Mapara 等SOSP 2021 · 10 次引用
- LeaseGuard: Raft Leases Done RightA. Jesse Jiryu Davis, Murat Demirbas, Lingzhi DengSIGMOD 2026 · 2 次引用
- Jetpack: Consensus Made Generally FastZe Tang, Zihao Zhang, Weihai Shen, Jicheng Shi 等OSDI 2026
- FLEET: High-Performance Durable Replicated State Machines using Scattered and Coordinated Log EntriesHua Fan, Hao Tan, Wenchao Zhou, Feifei LiVLDB 2025 · 1 次引用
- Bodega: Localized Linearizable Reads at Anywhere Anytime via Roster LeasesGuanzhou Hu, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauOSDI 2026
