The serverless computing model has evolved as one of the key solutions in the cloud for fast autoscaling and capacity planning. In edge computing environments, however, the serverless model is challenged by the system heterogeneity and performance variability. In this paper, we introduce BenchFaaS, an open-source edge computing network testbed which automates the deployment and benchmarking of serverless functions. Our edge computing network considers a cluster of virtual machines and Raspberry Pis, and is designed to benchmark serverless functions under different hardware and network conditions. We measure and evaluate: (i) overhead incurred by testbed, (ii) performance of compute intensive tasks, (iii) impact of application payload size, (iv) scalability, and (v) performance of chained serverless functions. We share the lessons learnt in engineering and implementing the testbed. We present the measurement results and analyze the impact of networked infrastructure on serverless performance. The measurements indicate that a properly dimensioned edge computing network can effectively serve as a serverless infrastructure.
翻译:无服务器计算模型已演变为云中快速自动升级和能力规划的关键解决方案之一。但在边缘计算环境中,无服务器模型受到系统差异和性能变异的挑战。在本文件中,我们引入了开放源边边计算网络测试台BenchFaaS, 它将服务器无功能的部署和基准设定自动化。我们的边缘计算网络考虑的是一组虚拟机器和Raspberry Pis, 目的是在不同的硬件和网络条件下对无服务器功能进行基准。我们测量和评估:(一) 测试床产生的间接费用,(二) 计算密集任务的业绩,(三) 应用有效载荷大小的影响,(四) 缩放,(五) 无链式服务器功能的性能。我们分享了在工程和实施测试台方面的经验教训。我们介绍测量结果,分析网络基础设施对服务器无服务器性能的影响。测量表明,一个适当维度的边缘计算网络可以有效地作为无服务器的基础设施。