Affiliation:
1. University of Pennsylvania, USA
2. University of Pennsylvania, USA / Microsoft Research, USA
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference48 articles.
1. Semantics of transactional memory and automatic mutual exclusion
2. Cloud-Scale Runtime Verification of Serverless Applications
3. 2020. AWS Step Functions. https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html 2020. AWS Step Functions. https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html
4. 2022. FoundationDB. https://www.foundationdb.org/ 2022. FoundationDB. https://www.foundationdb.org/
5. The development of Erlang;Armstrong Joe;ICFP.,1997
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献