Proceedings of the ACM on Programming Languages · 2021 · 55 citations · 20 references
ComputingComputer ScienceComputer SystemsDistributed SystemsFault ToleranceServerless ComputingServerless ArchitectureServerless InfrastructureCritical SectionsElastic ScalingExecution ModelLambda CalculusLambda Calculus SemanticsStateful Serverless ComputingStateless ComputingTyped Lambda Calculus
Serverless, or Functions-as-a-Service (FaaS), is an increasingly popular paradigm for application development, as it provides implicit elastic scaling and load based billing. However, the weak execution guarantees and intrinsic compute-storage separation of FaaS create serious challenges when developing applications that require persistent state, reliable progress, or synchronization. This has motivated a new generation of serverless frameworks that provide stateful abstractions. For instance, Azure's Durable Functions (DF) programming model enhances FaaS with actors, workflows, and critical sections. As a programming model, DF is interesting because it combines task and actor parallelism, which makes it suitable for a wide range of serverless applications. We describe DF both informally, using examples, and formally, using an idealized high-level model based on the untyped lambda calculus. Next, we demystify how the DF runtime can (1) execute in a distributed unreliable serverless environment with compute-storage separation, yet still conform to the fault-free high-level model, and (2) persist execution progress without requiring checkpointing support by the language runtime. To this end we define two progressively more complex execution models, which contain the compute-storage separation and the record-replay, and prove that they are equivalent to the high-level model.
20
Sanjay Ghemawat · Communications of the ACM · 2008 · 18.5K citations · Full text
Eric Jonas, Qifan Pu, Shivaram Venkataraman et al. · 2017 · 412 citations
Vikram Sreekanti, Chenggang Wu, Xiayue Charles Lin et al. · Proceedings of the VLDB Endowment · 2020 · 215 citations · Full text
Sergey Bykov, Alan Geller, Gabriel Kliot et al. · 2011 · 146 citations · Full text