论文标题

Graph-PHPA:使用LSTM-GNN的基于图的主动水平POD自动化

Graph-PHPA: Graph-based Proactive Horizontal Pod Autoscaling for Microservices using LSTM-GNN

论文作者

Nguyen, Hoa X., Zhu, Shaoshu, Liu, Mingming

论文摘要

基于微服务的体系结构已成为云本地应用的普遍存在。每天利用越来越多的应用程序在云平台上部署的应用程序,需要进行更多的研究工作,以了解如何应用不同的策略来有效地管理各种云资源。大量研究已使用反应性和主动的自动化策略部署了自动资源分配算法。但是,当前算法在从其体系结构和部署环境中捕获微服务的重要特征方面的效率仍然存在差距,例如,缺乏对图形依赖性的考虑。为了应对这一挑战,我们提出了Graph-PHPA,这是一种基于图的主动水平POD自动级别自动化策略,用于将云资源分配给利用长期短期记忆(LSTM)和图形神经网络(GNN)的预测方法。我们使用BookInfo微服务在专用的测试环境中使用基于现实数据集生成的实时工作负载来评估图形phpa的性能。我们通过将phpa与Kubernetes中的基于规则的资源分配方案进行比较,证明了图形PHPA的疗效。已经实施了广泛的实验,我们的结果说明了我们在不同测试方案中提出的资源节省方法比基于反应性规则的基线算法的优越性。

Microservice-based architecture has become prevalent for cloud-native applications. With an increasing number of applications being deployed on cloud platforms every day leveraging this architecture, more research efforts are required to understand how different strategies can be applied to effectively manage various cloud resources at scale. A large body of research has deployed automatic resource allocation algorithms using reactive and proactive autoscaling policies. However, there is still a gap in the efficiency of current algorithms in capturing the important features of microservices from their architecture and deployment environment, for example, lack of consideration of graphical dependency. To address this challenge, we propose Graph-PHPA, a graph-based proactive horizontal pod autoscaling strategy for allocating cloud resources to microservices leveraging long short-term memory (LSTM) and graph neural network (GNN) based prediction methods. We evaluate the performance of Graph-PHPA using the Bookinfo microservices deployed in a dedicated testing environment with real-time workloads generated based on realistic datasets. We demonstrate the efficacy of Graph-PHPA by comparing it with the rule-based resource allocation scheme in Kubernetes as our baseline. Extensive experiments have been implemented and our results illustrate the superiority of our proposed approach in resource savings over the reactive rule-based baseline algorithm in different testing scenarios.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源