arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.08983cs.DCcs.PF
收藏

PerfSim:云原生微服务链性能模拟器

PerfSim: A Performance Simulator for Cloud Native Microservice Chains

Michel Gokan Khan, Javid Taheri, Auday Al-Dulaimy, Andreas Kassler

摘要:

云原生计算范式允许基于微服务的应用程序以可扩展、可重用和可互操作的方式利用云基础设施。然而,在云原生系统中,大量的配置参数和高粒度的资源分配策略可能会显著影响性能和部署成本。为了以一种简单、快速和具有成本效益的方式理解和分析这些影响,我们提出了PerfSim,一个离散事件模拟器,用于近似和预测用户定义场景中云原生服务链的性能。为此,我们提出了一种系统化的方法,通过收集和分析微服务端点功能的性能和网络跟踪来对其性能进行建模。通过结合提取的模型和用户定义的场景,PerfSim可以模拟给定时间段内所有服务的性能行为,并提供系统KPI的近似值,例如请求的平均响应时间。使用单台笔记本电脑的处理能力,我们评估了PerfSim在104种常见场景中的模拟精度和速度,并将模拟结果与真实Kubernetes集群中的相同部署进行了比较。我们在近似传入请求的平均响应时间方面实现了~81-99%的模拟准确度,并且模拟的加速因子为~16-1200倍。

英文摘要:

Cloud native computing paradigm allows microservice-based applications to take advantage of cloud infrastructure in a scalable, reusable, and interoperable way. However, in a cloud native system, the vast number of configuration parameters and highly granular resource allocation policies can significantly impact the performance and deployment cost. For understanding and analyzing these implications in an easy, quick, and cost-effective way, we present PerfSim, a discrete-event simulator for approximating and predicting the performance of cloud native service chains in user-defined scenarios. To this end, we proposed a systematic approach for modeling the performance of microservices endpoint functions by collecting and analyzing their performance and network traces. With a combination of the extracted models and user-defined scenarios, PerfSim can then simulate the performance behavior of all services over a given period and provide an approximation for system KPIs, such as requests' average response time. Using the processing power of a single laptop, we evaluated both simulation accuracy and speed of PerfSim in 104 prevalent scenarios and compared the simulation results with the identical deployment in a real Kubernetes cluster. We achieved ~81-99% simulation accuracy in approximating the average response time of incoming requests and ~16-1200 times speed-up factor for the simulation.

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

↑