Executing Microservice Applications on Serverless, Correctly
Konstantinos Kallas, Haoran Zhang, Rajeev Alur, Sebastian Angel, Vincent Liu
Abstract
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.
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Running Consistent Applications Closer to Users with Radical for Lower Latency cites Fault-tolerant and transactional stateful serverless workflows
- Fault-tolerant and transactional stateful serverless workflows cites A fault-tolerance shim for serverless computing
- Fault-tolerant and transactional stateful serverless workflows cites Cloudburst: Stateful Functions-as-a-Service
- Durable functions: semantics for stateful serverless cites A fault-tolerance shim for serverless computing
- Durable functions: semantics for stateful serverless cites Fault-tolerant and transactional stateful serverless workflows
- Durable functions: semantics for stateful serverless cites Cloudburst: Stateful Functions-as-a-Service
- SafeTree: Expressive Tree Policies for Microservices cites Durable functions: semantics for stateful serverless
- KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless Computing cites Fault-tolerant and transactional stateful serverless workflows
Cited by top-tier papers4
- SafeTree: Expressive Tree Policies for MicroservicesKaruna Grewal, Brighten Godfrey, Justin HsuOOPSLA 2025 · 1 citation
- Quilt: Resource-aware Merging of Serverless WorkflowsYuxuan Zhang, Sebastian AngelSOSP 2025 · 1 citation
- Running Consistent Applications Closer to Users with Radical for Lower LatencyNicolaas Kaashoek, Oleg Aleksandrovich Golev, Austin T. Li, Amit Levy et al.SOSP 2025
- KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless ComputingSheng Qi, Zhiquan Zhang, Xuanzhe Liu, Xin JinNSDI 2026
Builds on4
- Durable functions: semantics for stateful serverlessSebastian Burckhardt, Chris Gillum, David Justo, Konstantinos Kallas et al.OOPSLA 2021 · 63 citations
- A fault-tolerance shim for serverless computingVikram Sreekanti, Chenggang Wu, Saurav Chhatrapati, Joseph E. Gonzalez et al.EuroSys 2020 · 58 citations
- Fault-tolerant and transactional stateful serverless workflowsHaoran Zhang, Adney Cardoza, Peter Baile Chen, Sebastian Angel et al.OSDI 2020 · 20 citations
- Cloudburst: Stateful Functions-as-a-ServiceVikram Sreekanti, Chenggang Wu, Xiayue Charles Lin, Johann Schleier-Smith et al.VLDB 2020
Related papers
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 citations
- Krysha: Cost-Efficient Resource Orchestration for Geo-Distributed Serverless MicroservicesYuqiu Zhang, Hans-Arno JacobsenHPDC 2026
- Styx: Transactional Stateful Functions on Streaming DataflowsKyriakos Psarakis, George Christodoulou, Georgios Siachamis, Marios Fragkoulis et al.SIGMOD 2025 · 3 citations
- An empirical study on challenges of application development in serverless computingJinfeng Wen, Zhenpeng Chen, Yi Liu, Yiling Lou et al.FSE 2021 · 75 citations
- Unifying serverless and microservice workloads with SigmaOSAriel Szekely, Adam Belay, Robert Morris, M. Frans KaashoekSOSP 2024 · 11 citations
