Lune

HPDC2023Top-tier venue

FlexLog: A Shared Log for Stateful Serverless Computing

Dimitra Giantsidi, Emmanouil Giortamis, Nathaniel Tornow, Florin Dinu, Pramod Bhatotia

Abstract

Stateful serverless applications need to persist their state and data. The existing approach is to store the data in general purpose storage systems. However, these approaches are not designed to meet the demands of serverless applications in terms of consistency, fault tolerance and performance.

We present FlexLog, a storage system, specifically a distributed shared log, distinctively designed to meet the requirements of stateful serverless computing while mitigating the relevant system bottlenecks. FlexLog's data layer leverages the state-of-the-art persistent memory (PM) to offer low latency I/O and improve performance. To match the performance, FlexLog's ordering layer employs a scalable design, namely a tree-structure set of sequencer nodes. Importantly, this design provides serverless applications with the flexibility to implement different consistency guarantees and to seamlessly support multi-tenancy configurations.

We implement FlexLog from the ground up on a real hardware testbed and we also prove the correctness of our protocols. In particular, we evaluate FlexLog on a cluster of 6 machines with 800 GB Intel Optane DC PM over a 10 Gbps interconnect. Our evaluation shows that FlexLog scales to millions of operations per second while maintaining minimal latency. Our comparison with the state-of-theart shared log for serverless, Boki, shows that we achieve 10× better throughput in the storage layer and 2×-4× lower latency in the ordering layer, while also providing flexibility to support different consistency properties and multi-tenancy.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante Ordering cites LazyLog: A New Shared Log Abstraction for Low-Latency Applications
  • SONIC: Application-aware Data Passing for Chained Serverless Applications cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • AgileLog: A Forkable Shared Log for Agents on Data Streams cites LazyLog: A New Shared Log Abstraction for Low-Latency Applications
  • The LogDrive: Composable Durability for Cloud-Based Shared Logs cites LazyLog: A New Shared Log Abstraction for Low-Latency Applications
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. LazyLog: A New Shared Log Abstraction for Low-Latency ApplicationsXuhao Luo, Shreesha G. Bhat, Jiyu Hu, Ramnatthan Alagappan et al.SOSP 2024 · 6 citations
  2. 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
  3. AgileLog: A Forkable Shared Log for Agents on Data StreamsShreesha G. Bhat, Tony Hong, Michael A Noguera, Aishwarya Ganesan et al.SOSP 2026
  4. The LogDrive: Composable Durability for Cloud-Based Shared LogsGardner Vickers, Lucas Bradstreet, Mahesh Balakrishnan, Prince Mahajan et al.OSDI 2026

Builds on22

  1. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry et al.USENIX ATC 2020 · 946 citations
  2. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 citations
  3. Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 citations
  4. SONIC: Application-aware Data Passing for Chained Serverless ApplicationsAshraf Mahgoub, Karthick Shankar, Subrata Mitra, Ana Klimovic et al.USENIX ATC 2021 · 170 citations
  5. FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang et al.ASPLOS 2020 · 166 citations

Related papers

  1. Boki: Stateful Serverless Computing with Shared LogsZhipeng Jia, Emmett WitchelSOSP 2021 · 81 citations
  2. Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 citations
  3. Netherite: Efficient Execution of Serverless WorkflowsSebastian Burckhardt, Badrish Chandramouli, Chris Gillum, David Justo et al.VLDB 2022 · 60 citations
  4. A fault-tolerance shim for serverless computingVikram Sreekanti, Chenggang Wu, Saurav Chhatrapati, Joseph E. Gonzalez et al.EuroSys 2020 · 58 citations
  5. FaaSKeeper: Learning from Building Serverless Services with ZooKeeper as an ExampleMarcin Copik, Alexandru Calotoiu, Pengyu Zhou, Konstantin Taranov et al.HPDC 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines