评估功能即服务功能的能力
Estimating the Capacities of Function-as-a-Service Functions
摘要:
无服务器计算是一种云计算范例,它允许开发人员在云服务提供商管理资源管理任务时专注于业务逻辑。无服务器应用程序遵循此模型,其中应用程序被分解为一组细粒度的Function-as-a-Service(FaaS)功能。然而,底层系统基础设施的模糊性和应用程序内FaaS功能之间的依赖性对估计FaaS功能的性能提出了挑战。为了表征与用户相关的FaaS功能的性能,我们将功能容量(FC)定义为功能在不违反服务级别目标(SLO)的情况下可以在一段时间内服务的最大并发调用数量。本文解决了在无服务器应用程序中为每个FaaS功能单独量化FC的挑战。通过对FaaS功能进行沙盒并构建其性能模型来解决这一挑战。为此,我们开发了FnCapacitor -一个端到端的自动功能容量估计工具。我们在Google Cloud Functions(GCF)和AWS Lambda上演示了我们的工具的功能。FnCapacitor通过进行时间框架负载测试并使用统计方法构建各种模型来估计不同部署配置(分配的内存和最大函数实例)上的FC:线性、岭和多项式回归,以及深度神经网络(DNN)方法。我们对不同FaaS功能的评估显示出相对准确的预测,对于两家云提供商使用DNN的准确率超过75%。
英文摘要:
Serverless computing is a cloud computing paradigm that allows developers to focus exclusively on business logic as cloud service providers manage resource management tasks. Serverless applications follow this model, where the application is decomposed into a set of fine-grained Function-as-a-Service (FaaS) functions. However, the obscurities of the underlying system infrastructure and dependencies between FaaS functions within the application pose a challenge for estimating the performance of FaaS functions. To characterize the performance of a FaaS function that is relevant for the user, we define Function Capacity (FC) as the maximal number of concurrent invocations the function can serve in a time without violating the Service-Level Objective (SLO). The paper addresses the challenge of quantifying the FC individually for each FaaS function within a serverless application. This challenge is addressed by sandboxing a FaaS function and building its performance model. To this end, we develop FnCapacitor - an end-to-end automated Function Capacity estimation tool. We demonstrate the functioning of our tool on Google Cloud Functions (GCF) and AWS Lambda. FnCapacitor estimates the FCs on different deployment configurations (allocated memory & maximum function instances) by conducting time-framed load tests and building various models using statistical: linear, ridge, and polynomial regression, and Deep Neural Network (DNN) methods on the acquired performance data. Our evaluation of different FaaS functions shows relatively accurate predictions, with an accuracy greater than 75% using DNN for both cloud providers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。