基于多智能体强化学习的微服务弹性伸缩方法
    点此下载全文
引用本文:花磊,崔骥,赵安全,靳亮,金伟.基于多智能体强化学习的微服务弹性伸缩方法[J].计算技术与自动化,2023,(3):153-159
摘要点击次数: 168
全文下载次数: 0
作者单位
花磊,崔骥,赵安全,靳亮,金伟 (江苏博云科技股份有限公司江苏 苏州 215123) 
中文摘要:针对现有微服务水平扩展策略难以应对异构应用对多种资源的差异化需求问题,提出了一种基于多智能体强化学习的微服务弹性伸缩方法。首先,通过刻画微服运行状态、资源调整动作及收益等要素建模云应用资源调整问题;其次,基于深度神经网络训练策略网络以决策资源调整操作,训练价值网络以评价决策优劣并优化调整策略;最后,提出中心化模型训练与分布式资源调整动作相结合的微服务弹性伸缩策略。实验结果表明,该方法能够根据负载波动及时调整各微服务的资源分配量,有效减少了云应用请求响应时间,并降低了云平台的资源使用成本。
中文关键词:强化学习  资源调整  弹性伸缩  云计算平台  微服务架构
 
Elastic Scaling for Microservices Based on Multi-Agent Reinforcement Learning
Abstract:Existing horizontal scaling strategies of microservices cannot well deal with various resources’ requirements of heterogeneous applications, so this paper proposes an elastic scaling approach for microservices based on multi-agent reinforcement learning. Firstly, the resource adjustment of cloud applications is modeled with the running states, resource adjustment actions and rewards. Then, the strategy network is trained with the deep neural network to adjust resources, and the value network is trained to evaluate the decision and optimize the adjustments. Finally, the elastic scaling strategy combining centralized model training with distributed resource adjustment is proposed. The experimental results show that the approach can timely adjust the resources of each microservice according to workloads fluctuation, effectively reduce the response time of cloud applications’ requests, and reduce the cost of using cloud platforms’ resources.
keywords:reinforcement learning  resource adjustment  elastic scaling  cloud computing platform  microservice architecture
查看全文   查看/发表评论   下载pdf阅读器