arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.08904cs.DC
收藏

SimFaaS:面向无服务器计算平台的性能模拟器

SimFaaS: A Performance Simulator for Serverless Computing Platforms

Nima Mahmoudi, Hamzeh Khazaei

摘要:

为无服务器平台(即FaaS平台)开发准确且可扩展的性能模型是一项非常具有挑战性的任务。此外,在真正的无服务器平台上进行实施和实验既昂贵又耗时。然而,目前还没有全面的模拟工具或框架来代替真实的平台。因此,在本文中,我们提出了一个模拟平台,称为SimFaaS,它可以帮助无服务器应用程序开发人员开发优化的功能即服务应用程序的成本和性能方面填补了这一空白。另一方面,FaaS提供商可以利用SimFaaS来定制他们的平台,使其具有工作负载感知能力,从而可以同时提高利润和服务质量。此外,无服务器平台提供商可以以及时且经济高效的方式评估SimFaaS上的新设计、实现和部署。SimFaaS是开源的,有良好的文档记录,并且公开可用,使其易于使用和扩展,以便在未来纳入更多的用例场景。此外,它为性能工程师提供了一套工具,可以计算无服务器平台内部状态的几个特征,否则很难(大多数情况下是不可能)从真实平台中提取。我们展示了SimFaaS如何促进基本性能指标的预测,如平均响应时间,冷启动的概率,以及反映无服务器计算提供商所产生的基础设施成本的实例的平均数量。我们通过比较预测结果与Amazon AWS Lambda的真实跟踪来评估SimFaaS的准确性和适用性。

英文摘要:

Developing accurate and extendable performance models for serverless platforms, aka Function-as-a-Service (FaaS) platforms, is a very challenging task. Also, implementation and experimentation on real serverless platforms is both costly and time-consuming. However, at the moment, there is no comprehensive simulation tool or framework to be used instead of the real platform. As a result, in this paper, we fill this gap by proposing a simulation platform, called SimFaaS, which assists serverless application developers to develop optimized Function-as-a-Service applications in terms of cost and performance. On the other hand, SimFaaS can be leveraged by FaaS providers to tailor their platforms to be workload-aware so that they can increase profit and quality of service at the same time. Also, serverless platform providers can evaluate new designs, implementations, and deployments on SimFaaS in a timely and cost-efficient manner. SimFaaS is open-source, well-documented, and publicly available, making it easily usable and extendable to incorporate more use case scenarios in the future. Besides, it provides performance engineers with a set of tools that can calculate several characteristics of serverless platform internal states, which is otherwise hard (mostly impossible) to extract from real platforms. We show how SimFaaS facilitates the prediction of essential performance metrics such as average response time, probability of cold start, and the average number of instances reflecting the infrastructure cost incurred by the serverless computing provider. We evaluate the accuracy and applicability of SimFaaS by comparing the prediction results with real-world traces from Amazon AWS Lambda.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑