{"title":"基于强化学习的qos感知代理的开发,用于云上微服务的自动扩展","authors":"Abeer Abdel Khaleq, Ilkyeun Ra","doi":"10.1109/ACSOS-C52956.2021.00025","DOIUrl":null,"url":null,"abstract":"Microservices play an essential role in cloud application scalability. When demand increases on a microservice-based application, the microservices need to be scaled to sustain the demand without degrading the application performance. At the same time, cloud platforms need to maintain Quality of Service (QoS) for deployed cloud applications. Current microservices autoscaling technologies such as Kubernetes Horizontal Pod Autoscaler (HPA) require identifying specific scaling metrics in addition to very good knowledge of the application resource usage. Those technologies do not provide a built-in auto scaling based on QoS constraints. In this work, we present an intelligent micro services auto scaling module using Reinforcement Learning (RL) agents. The RL agents are trained and validated on microservices for disaster management real time systems with response time as QoS constraint. Our RL agents deployed on Google cloud can identify the scaling metrics, provide microservices auto scaling, and enhance the response time compared to the default Kubernetes intelligently and autonomously. The RL agents serve as an extendible plug-in module to Kubernetes HP A for auto scaling micro services in the cloud while adhering to QoS constraints autonomously. The intelligent module is flexible to accommodate other types of QoS and provides a cost-effective solution to cloud applications auto scaling in areas of limited resources.","PeriodicalId":268224,"journal":{"name":"2021 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Development of QoS-aware agents with reinforcement learning for autoscaling of microservices on the cloud\",\"authors\":\"Abeer Abdel Khaleq, Ilkyeun Ra\",\"doi\":\"10.1109/ACSOS-C52956.2021.00025\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Microservices play an essential role in cloud application scalability. When demand increases on a microservice-based application, the microservices need to be scaled to sustain the demand without degrading the application performance. At the same time, cloud platforms need to maintain Quality of Service (QoS) for deployed cloud applications. Current microservices autoscaling technologies such as Kubernetes Horizontal Pod Autoscaler (HPA) require identifying specific scaling metrics in addition to very good knowledge of the application resource usage. Those technologies do not provide a built-in auto scaling based on QoS constraints. In this work, we present an intelligent micro services auto scaling module using Reinforcement Learning (RL) agents. The RL agents are trained and validated on microservices for disaster management real time systems with response time as QoS constraint. Our RL agents deployed on Google cloud can identify the scaling metrics, provide microservices auto scaling, and enhance the response time compared to the default Kubernetes intelligently and autonomously. The RL agents serve as an extendible plug-in module to Kubernetes HP A for auto scaling micro services in the cloud while adhering to QoS constraints autonomously. The intelligent module is flexible to accommodate other types of QoS and provides a cost-effective solution to cloud applications auto scaling in areas of limited resources.\",\"PeriodicalId\":268224,\"journal\":{\"name\":\"2021 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)\",\"volume\":\"32 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ACSOS-C52956.2021.00025\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACSOS-C52956.2021.00025","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
摘要
微服务在云应用的可伸缩性中扮演着重要的角色。当基于微服务的应用程序的需求增加时,需要对微服务进行扩展,以在不降低应用程序性能的情况下维持需求。同时,云平台需要为部署的云应用程序维护服务质量(QoS)。当前的微服务自动扩展技术,如Kubernetes Horizontal Pod Autoscaler (HPA),除了非常了解应用程序的资源使用情况外,还需要确定特定的扩展指标。这些技术不提供基于QoS约束的内置自动缩放。在这项工作中,我们提出了一个使用强化学习(RL)代理的智能微服务自动扩展模块。RL代理在灾难管理实时系统的微服务上进行了训练和验证,并将响应时间作为QoS约束。我们部署在谷歌云上的RL代理可以识别扩展指标,提供微服务自动扩展,并且与默认的Kubernetes相比,智能和自主地提高了响应时间。RL代理作为Kubernetes HP A的可扩展插件模块,用于自动扩展云中的微服务,同时自主遵守QoS约束。智能模块可以灵活地适应其他类型的QoS,并为云应用程序在资源有限的区域自动扩展提供经济有效的解决方案。
Development of QoS-aware agents with reinforcement learning for autoscaling of microservices on the cloud
Microservices play an essential role in cloud application scalability. When demand increases on a microservice-based application, the microservices need to be scaled to sustain the demand without degrading the application performance. At the same time, cloud platforms need to maintain Quality of Service (QoS) for deployed cloud applications. Current microservices autoscaling technologies such as Kubernetes Horizontal Pod Autoscaler (HPA) require identifying specific scaling metrics in addition to very good knowledge of the application resource usage. Those technologies do not provide a built-in auto scaling based on QoS constraints. In this work, we present an intelligent micro services auto scaling module using Reinforcement Learning (RL) agents. The RL agents are trained and validated on microservices for disaster management real time systems with response time as QoS constraint. Our RL agents deployed on Google cloud can identify the scaling metrics, provide microservices auto scaling, and enhance the response time compared to the default Kubernetes intelligently and autonomously. The RL agents serve as an extendible plug-in module to Kubernetes HP A for auto scaling micro services in the cloud while adhering to QoS constraints autonomously. The intelligent module is flexible to accommodate other types of QoS and provides a cost-effective solution to cloud applications auto scaling in areas of limited resources.