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

Frisbee:Kubernetes中云原生应用程序的自动化测试

Frisbee: automated testing of Cloud-native applications in Kubernetes

Fotis Nikolaidis, Antony Chazapis, Manolis Marazakis, Angelos Bilas

摘要:

随着越来越多的公司从内部部署迁移(或计划迁移)到云,他们的重点是在开发生存周期中尽早发现异常和缺陷。我们提出了Frisbee,一种声明性语言和相关的运行时组件,用于在Kubernetes之上测试云原生应用程序。给定一个描述被测系统的模板和一个描述实验的工作流,Frisbee自动与Kubernetes对接,在容器中部署必要的软件,启动所需的sidecar,执行工作流步骤,并自动检查与预期行为的偏差。我们通过一系列测试来评估Frisbee,以展示其在设计和评估云原生应用程序中的作用; Frisbee有助于测试应用程序级别的不确定性(例如,动态改变请求模式),基础设施(例如,崩溃、网络分区),以及部署(例如,饱和点)。我们的研究结果对云应用程序的设计、部署和评估具有重要意义。最突出的是:错误的基准测试输出可能导致明显的性能改进,自动故障转移机制可能需要与客户端的互操作性,并且适当的放置策略还应该考虑时钟频率,而不仅仅是核心数量。

英文摘要:

As more and more companies are migrating (or planning to migrate) from on-premise to Cloud, their focus is to find anomalies and deficits as early as possible in the development life cycle. We propose Frisbee, a declarative language and associated runtime components for testing cloud-native applications on top of Kubernetes. Given a template describing the system under test and a workflow describing the experiment, Frisbee automatically interfaces with Kubernetes to deploy the necessary software in containers, launch needed sidecars, execute the workflow steps, and perform automated checks for deviation from expected behavior. We evaluate Frisbee through a series of tests, to demonstrate its role in designing, and evaluating cloud-native applications; Frisbee helps in testing uncertainties at the level of application (e.g., dynamically changing request patterns), infrastructure (e.g., crashes, network partitions), and deployment (e.g., saturation points). Our findings have strong implications for the design, deployment, and evaluation of cloud applications. The most prominent is that: erroneous benchmark outputs can cause an apparent performance improvement, automated failover mechanisms may require interoperability with clients, and that a proper placement policy should also account for the clock frequency, not only the number of cores.

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

↑