Workflow aware analytical model to predict performance and cost of serverless execution
Authors:
- 20 April 2023
- journal article
- research article
- Published by Wiley in Concurrency and Computation: Practice and Experience
- Vol. 35 (22)
Abstract
Summary: Serverless computing has emerged as a powerful deployment model based on the Function‐as‐a‐Service (FaaS) paradigm, where applications are orchestrated through a set of independent functions. The function orchestration within an application can be represented through a serverless workflow, which defines the overall execution plan of the application. To ensure the quality of service for serverless computing platforms, it is essential to develop performance and cost models that can predict the service quality that can be obtained from deploying and executing applications in the cloud platform. While several analytical models have been developed for various cloud deployment frameworks in recent years, there has been a lack of performance and cost analysis models for serverless computing platforms. The existing performance and cost monitoring tools available in serverless frameworks face several challenges, such as complexity, lack of transparency, and incomplete monitoring data. In this paper, we fill the gap by proposing an efficient workflow‐based analytical model that can estimate the end‐to‐end response time and cost of the serverless execution plan. The proposed model can handle complex structures like loop, cycles, self‐loop, and parallel substructures that exist in serverless workflows. Additionally, we propose a heuristic optimization algorithm to identify the optimal resource configuration to achieve the optimal response time under a given budget constraint. We evaluated the effectiveness of the proposed model by considering seven serverless applications in both AWS Lambda and Microsoft Azure platforms. We compared the accuracy of the proposed model with the real values of response time and cost obtained in AWS Lambda and Microsoft Azure serverless platforms. The proposed performance and cost model in the AWS Lambda platform has been observed to have an average accuracy of 99.2% and 98.7% respectively. In the Microsoft Azure platform, the average accuracy of the performance and cost model has been observed to be 98.6% and 98.2% respectively.Keywords
This publication has 25 references indexed in Scilit:
- The rise of serverless computingCommunications of the ACM, 2019
- Cirrus2019
- On-Premises Serverless Computing for Event-Driven Data Processing Applications2019
- Serverless Computing: An Investigation of Deployment Environments for Web APIsComputers, 2019
- Video processing with serverless computing2019
- A User Perspective Overview of The Top Infrastructure as a Service and High Performance Computing Cloud Service Providers2019
- Performance evaluation of heterogeneous cloud functionsConcurrency and Computation: Practice and Experience, 2018
- Evaluation of Production Serverless Computing Environments2018
- Serving Deep Learning Models in a Serverless Platform2018
- Serverless Computing: Current Trends and Open Problems2017