Lune

HPDC2023顶会

FlexLog: A Shared Log for Stateful Serverless Computing

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

摘要

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.

问 Lune

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

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

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Low End-to-End Latency atop a Speculative Shared Log with Fix-Ante Ordering 引用了 LazyLog: A New Shared Log Abstraction for Low-Latency Applications
  • SONIC: Application-aware Data Passing for Chained Serverless Applications 引用了 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 引用了 LazyLog: A New Shared Log Abstraction for Low-Latency Applications
  • The LogDrive: Composable Durability for Cloud-Based Shared Logs 引用了 LazyLog: A New Shared Log Abstraction for Low-Latency Applications
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

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

它引用的 Paper22

  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 等USENIX ATC 2020 · 946 次引用
  2. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 次引用
  3. Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 次引用
  4. SONIC: Application-aware Data Passing for Chained Serverless ApplicationsAshraf Mahgoub, Karthick Shankar, Subrata Mitra, Ana Klimovic 等USENIX ATC 2021 · 170 次引用
  5. FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用

相关 Paper

  1. Boki: Stateful Serverless Computing with Shared LogsZhipeng Jia, Emmett WitchelSOSP 2021 · 81 次引用
  2. Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 次引用
  3. Netherite: Efficient Execution of Serverless WorkflowsSebastian Burckhardt, Badrish Chandramouli, Chris Gillum, David Justo 等VLDB 2022 · 60 次引用
  4. A fault-tolerance shim for serverless computingVikram Sreekanti, Chenggang Wu, Saurav Chhatrapati, Joseph E. Gonzalez 等EuroSys 2020 · 58 次引用
  5. FaaSKeeper: Learning from Building Serverless Services with ZooKeeper as an ExampleMarcin Copik, Alexandru Calotoiu, Pengyu Zhou, Konstantin Taranov 等HPDC 2024 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖