LazyLog: A New Shared Log Abstraction for Low-Latency Applications
Xuhao Luo, Shreesha G. Bhat, Jiyu Hu, Ramnatthan Alagappan, Aishwarya Ganesan
摘要
Shared logs offer linearizable total order across storage shards. However, they enforce this order eagerly upon ingestion, leading to high latencies. We observe that in many modern shared-log applications, while linearizable ordering is necessary, it is not required eagerly when ingesting data but only later when data is consumed. Further, readers are naturally decoupled in time from writers in these applications. Based on this insight, we propose LazyLog, a novel shared log abstraction. LazyLog lazily binds records (across shards) to linearizable global positions and enforces this before a log position can be read. Such lazy ordering enables low ingestion latencies. Given the time decoupling, LazyLog can establish the order well before reads arrive, minimizing overhead upon reads. We build two LazyLog systems that provide linearizable total order across shards. Our experiments show that LazyLog systems deliver significantly lower latencies than conventional, eager-ordering shared logs.
Shared logs [35,36,38,41] have emerged as a crucial building block for datacenter applications. At its core, a shared log is a fault-tolerant, ordered sequence of records that many clients can simultaneously operate on. The interface to the shared log is simple. Applications ingest records via an append API, upon which they are linearizably [55] ordered and durably stored. Applications retrieve data via a read API, which takes a position and returns the record at that position.
This simple interface and the powerful abstraction make shared logs useful in a variety of modern applications. For instance, shared logs are used to record and analyze web accesses [8,41], build databases [53], log events for debugging [8,90], communicate between microservices [10], journal state for fault-tolerance [58], and stream data [15,52,89].
Unfortunately, today's shared logs incur high latencies
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Virtual Consensus in Delos 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante Ordering 引用了 Boki: Stateful Serverless Computing with Shared Logs
- Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante Ordering 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante Ordering 引用了 FlexLog: A Shared Log for Stateful Serverless Computing
- XLL: Cross-Layer Logging for Data Deduplication in Consensus-Based Storage 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- Boki: Stateful Serverless Computing with Shared Logs 引用了 Virtual Consensus in Delos
- Boki: Stateful Serverless Computing with Shared Logs 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- Presto: A Match-Action TCP Stack for the Terabit Era 引用了 Virtual Consensus in Delos
- Presto: A Match-Action TCP Stack for the Terabit Era 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
- FlexLog: A Shared Log for Stateful Serverless Computing 引用了 Virtual Consensus in Delos
- FlexLog: A Shared Log for Stateful Serverless Computing 引用了 Boki: Stateful Serverless Computing with Shared Logs
- FlexLog: A Shared Log for Stateful Serverless Computing 引用了 Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared Log
引用它的顶会 Paper13
- Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante OrderingShreesha G. Bhat, Tony Hong, Xuhao Luo, Jiyu Hu 等OSDI 2025 · 2 次引用
- Incremental Stream Query Deployment under Continuous Infrastructure Changes in the Cloud-Edge ContinuumAnkit Chaudhary, Felix Lang, Danila Ferents, Nils L. Schubert 等VLDB 2026 · 2 次引用
- XLL: Cross-Layer Logging for Data Deduplication in Consensus-Based StorageJohn Shawger, Arnav Jhingran, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauNSDI 2026 · 1 次引用
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QPChenxingyu Zhao, Yibo Wu, Hongtao Zhang, Jaehong Min 等SIGCOMM 2026 · 1 次引用
- Presto: A Match-Action TCP Stack for the Terabit EraRajath Shashidhara, Antoine Kaufmann, Simon PeterSIGCOMM 2026 · 1 次引用
它引用的 Paper6
- Boki: Stateful Serverless Computing with Shared LogsZhipeng Jia, Emmett WitchelSOSP 2021 · 81 次引用
- Microsecond Consensus for Microsecond ApplicationsMarcos K. Aguilera, Naama Ben-David, Rachid Guerraoui, Virendra J. Marathe 等OSDI 2020 · 73 次引用
- Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared LogCong Ding, David Chu, Evan Zhao, Xiang Li 等NSDI 2020 · 52 次引用
- Virtual Consensus in DelosMahesh Balakrishnan, Jason Flinn, Chen Shen, Mihir Dharamshi 等OSDI 2020 · 42 次引用
- FlexLog: A Shared Log for Stateful Serverless ComputingDimitra Giantsidi, Emmanouil Giortamis, Nathaniel Tornow, Florin Dinu 等HPDC 2023 · 9 次引用
相关 Paper
- Borges: A Low-Latency Distributed Shared Log on a CXL Memory/SSD HybridHaowei Chen, Yiming Xiang, Zhipeng Jia, Yan Sun 等SOSP 2026
- Impeller: Stream Processing on Shared LogsZhiting Zhu, Zhipeng Jia, Newton Ni, Dixin Tang 等EuroSys 2025 · 1 次引用
- Gryff: Unifying Consensus and Shared RegistersMatthew Burke, Audrey Cheng, Wyatt LloydNSDI 2020 · 29 次引用
- AgileLog: A Forkable Shared Log for Agents on Data StreamsShreesha G. Bhat, Tony Hong, Michael A Noguera, Aishwarya Ganesan 等SOSP 2026
- 1Pipe: scalable total order communication in data center networksBojie Li, Gefei Zuo, Wei Bai, Lintao ZhangSIGCOMM 2021 · 5 次引用
