Predicting the Costs of Serverless Workflows
Authors:
Open Access
- 20 April 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 265-276
Abstract
Function-as-a-Service (FaaS) platforms enable users to run arbitrary functions without being concerned about operational issues, while only paying for the consumed resources. Individual functions are often composed into workflows for complex tasks. However, the pay-per-use model and nontransparent reporting by cloud providers make it challenging to estimate the expected cost of a workflow, which prevents informed business decisions. Existing cost-estimation approaches assume a static response time for the serverless functions, without taking input parameters into account. In this paper, we propose a methodology for the cost prediction of serverless workflows consisting of input-parameter sensitive function models and a monte-carlo simulation of an abstract workflow model. Our approach enables workflow designers to predict, compare, and optimize the expected costs and performance of a planned workflow, which currently requires time-intensive experimentation. In our evaluation, we show that our approach can predict the response time and output parameters of a function based on its input parameters with an accuracy of 96.1%. In a case study with two audio-processing workflows, our approach predicts the costs of the two workflows with an accuracy of 96.2%.Keywords
This publication has 16 references indexed in Scilit:
- Using a Microbenchmark to Compare Function as a Service Solutions2018
- Serverless Computing: Current Trends and Open Problems2017
- The serverless trilemma: function composition for serverless computing2017
- Reserved, on demand or serverless: Model-based simulations for cloud budget planning2017
- Serverless computing: economic and architectural impact2017
- Dynamic placement of virtual machines for cost optimization in multi-cloud environments2011
- Kernel density estimation via diffusionThe Annals of Statistics, 2010
- ArcheOpterix: An extendable tool for architecture optimization of AADL models2009
- Gradient Flows of Probability Measures2007
- Modelling of Input-Parameter Dependency for Performance Predictions of Component-Based Embedded Systems2005