LazyLog: A New Shared Log Abstraction for Low-Latency Applications
Xuhao Luo, Shreesha G. Bhat, Jiyu Hu, Ramnatthan Alagappan, Aishwarya Ganesan
Abstract
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 † equal contribution
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers13
- Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante OrderingShreesha G. Bhat, Tony Hong, Xuhao Luo, Jiyu Hu et al.OSDI 2025 · 2 citations
- Incremental Stream Query Deployment under Continuous Infrastructure Changes in the Cloud-Edge ContinuumAnkit Chaudhary, Felix Lang, Danila Ferents, Nils L. Schubert et al.VLDB 2026 · 2 citations
- XLL: Cross-Layer Logging for Data Deduplication in Consensus-Based StorageJohn Shawger, Arnav Jhingran, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauNSDI 2026 · 1 citation
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QPChenxingyu Zhao, Yibo Wu, Hongtao Zhang, Jaehong Min et al.SIGCOMM 2026 · 1 citation
- Presto: A Match-Action TCP Stack for the Terabit EraRajath Shashidhara, Antoine Kaufmann, Simon PeterSIGCOMM 2026 · 1 citation
Builds on6
- Boki: Stateful Serverless Computing with Shared LogsZhipeng Jia, Emmett WitchelSOSP 2021 · 81 citations
- Microsecond Consensus for Microsecond ApplicationsMarcos K. Aguilera, Naama Ben-David, Rachid Guerraoui, Virendra J. Marathe et al.OSDI 2020 · 73 citations
- Scalog: Seamless Reconfiguration and Total Order in a Scalable Shared LogCong Ding, David Chu, Evan Zhao, Xiang Li et al.NSDI 2020 · 52 citations
- Virtual Consensus in DelosMahesh Balakrishnan, Jason Flinn, Chen Shen, Mihir Dharamshi et al.OSDI 2020 · 42 citations
- FlexLog: A Shared Log for Stateful Serverless ComputingDimitra Giantsidi, Emmanouil Giortamis, Nathaniel Tornow, Florin Dinu et al.HPDC 2023 · 9 citations
Related papers
- Borges: A Low-Latency Distributed Shared Log on a CXL Memory/SSD HybridHaowei Chen, Yiming Xiang, Zhipeng Jia, Yan Sun et al.SOSP 2026
- Impeller: Stream Processing on Shared LogsZhiting Zhu, Zhipeng Jia, Newton Ni, Dixin Tang et al.EuroSys 2025 · 1 citation
- Gryff: Unifying Consensus and Shared RegistersMatthew Burke, Audrey Cheng, Wyatt LloydNSDI 2020 · 29 citations
- AgileLog: A Forkable Shared Log for Agents on Data StreamsShreesha G. Bhat, Tony Hong, Michael A Noguera, Aishwarya Ganesan et al.SOSP 2026
- 1Pipe: scalable total order communication in data center networksBojie Li, Gefei Zuo, Wei Bai, Lintao ZhangSIGCOMM 2021 · 5 citations
