Lune

POPL2023顶会

Executing Microservice Applications on Serverless, Correctly

Konstantinos Kallas, Haoran Zhang, Rajeev Alur, Sebastian Angel, Vincent Liu

摘要

While serverless platforms substantially simplify the provisioning, configuration, and management of cloud applications, implementing correct services on top of these platforms can present significant challenges to programmers. For example, serverless infrastructures introduce a host of failure modes that are not present in traditional deployments. Individual serverless instances can fail while others continue to make progress, correct but slow instances can be killed by the cloud provider as part of resource management, and providers will often respond to such failures by re-executing requests. For functions with side-effects, these scenarios can create behaviors that are not observable in serverful deployments. In this paper, we propose mu2sls, a framework for implementing microservice applications on serverless using standard Python code with two extra primitives: transactions and asynchronous calls. Our framework orchestrates user-written services to address several challenges, such as failures and re-executions, and provides formal guarantees that the generated serverless implementations are correct. To that end, we present a novel service specification abstraction and formalization of serverless implementations that facilitate reasoning about the correctness of a given application’s serverless implementation. This formalization forms the basis of the mu2sls prototype, which we then use to develop a few real-world microservice applications and show that the performance of the generated serverless implementations achieves significant scalability (3-5× the throughput of a sequential implementation) while providing correctness guarantees in the context of faults, re-execution, and concurrency.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Running Consistent Applications Closer to Users with Radical for Lower Latency 引用了 Fault-tolerant and transactional stateful serverless workflows
  • Fault-tolerant and transactional stateful serverless workflows 引用了 A fault-tolerance shim for serverless computing
  • Fault-tolerant and transactional stateful serverless workflows 引用了 Cloudburst: Stateful Functions-as-a-Service
  • Durable functions: semantics for stateful serverless 引用了 A fault-tolerance shim for serverless computing
  • Durable functions: semantics for stateful serverless 引用了 Fault-tolerant and transactional stateful serverless workflows
  • Durable functions: semantics for stateful serverless 引用了 Cloudburst: Stateful Functions-as-a-Service
  • SafeTree: Expressive Tree Policies for Microservices 引用了 Durable functions: semantics for stateful serverless
  • KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless Computing 引用了 Fault-tolerant and transactional stateful serverless workflows
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. SafeTree: Expressive Tree Policies for MicroservicesKaruna Grewal, Brighten Godfrey, Justin HsuOOPSLA 2025 · 1 次引用
  2. Quilt: Resource-aware Merging of Serverless WorkflowsYuxuan Zhang, Sebastian AngelSOSP 2025 · 1 次引用
  3. Running Consistent Applications Closer to Users with Radical for Lower LatencyNicolaas Kaashoek, Oleg Aleksandrovich Golev, Austin T. Li, Amit Levy 等SOSP 2025
  4. KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless ComputingSheng Qi, Zhiquan Zhang, Xuanzhe Liu, Xin JinNSDI 2026

它引用的 Paper4

  1. Durable functions: semantics for stateful serverlessSebastian Burckhardt, Chris Gillum, David Justo, Konstantinos Kallas 等OOPSLA 2021 · 63 次引用
  2. A fault-tolerance shim for serverless computingVikram Sreekanti, Chenggang Wu, Saurav Chhatrapati, Joseph E. Gonzalez 等EuroSys 2020 · 58 次引用
  3. Fault-tolerant and transactional stateful serverless workflowsHaoran Zhang, Adney Cardoza, Peter Baile Chen, Sebastian Angel 等OSDI 2020 · 20 次引用
  4. Cloudburst: Stateful Functions-as-a-ServiceVikram Sreekanti, Chenggang Wu, Xiayue Charles Lin, Johann Schleier-Smith 等VLDB 2020

相关 Paper

  1. Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 次引用
  2. Krysha: Cost-Efficient Resource Orchestration for Geo-Distributed Serverless MicroservicesYuqiu Zhang, Hans-Arno JacobsenHPDC 2026
  3. Styx: Transactional Stateful Functions on Streaming DataflowsKyriakos Psarakis, George Christodoulou, Georgios Siachamis, Marios Fragkoulis 等SIGMOD 2025 · 3 次引用
  4. An empirical study on challenges of application development in serverless computingJinfeng Wen, Zhenpeng Chen, Yi Liu, Yiling Lou 等FSE 2021 · 75 次引用
  5. Unifying serverless and microservice workloads with SigmaOSAriel Szekely, Adam Belay, Robert Morris, M. Frans KaashoekSOSP 2024 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖