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

一种用于云中预测自动缩放的Meta强化学习方法

A Meta Reinforcement Learning Approach for Predictive Autoscaling in the Cloud

Ant Group(蚂蚁集团)

Siqiao Xue, Chao Qu, Xiaoming Shi, Cong Liao, Shiyi Zhu, Xiaoyu Tan, Lintao Ma, Shiyu Wang, Shijun Wang, Yun Hu, Lei Lei, Yangfei Zheng, Jianguo Li, James Zhang

摘要:

预测性自动缩放(具有工作负载预测的自动缩放)是一种重要的机制,它支持根据云中波动的工作负载需求自主调整计算资源。在最近的工作中,强化学习(RL)已被引入作为一种有前途的方法来学习资源管理策略,以指导在动态和不确定的云环境下的缩放动作。然而,RL方法在引导预测自动缩放方面面临以下挑战,例如决策缺乏准确性,采样效率低下以及工作负载模式的显著变化可能导致策略在测试时失败。为此,我们提出了一种基于端到端预测Meta模型的强化学习算法,旨在优化资源分配以保持稳定的CPU利用率水平,该算法采用了专门设计的深度周期性工作负载预测模型作为输入,并嵌入了神经过程来指导云中众多应用服务的最佳扩展操作的学习。我们的算法不仅保证了缩放策略的可预测性和准确性,而且使缩放决策能够以高样本效率适应不断变化的工作负载。与现有算法相比,我们的方法实现了显着的性能改进,并已在支付宝上在线部署,支持世界领先的支付平台的应用程序的自动缩放。

英文摘要:

Predictive autoscaling (autoscaling with workload forecasting) is an important mechanism that supports autonomous adjustment of computing resources in accordance with fluctuating workload demands in the Cloud. In recent works, Reinforcement Learning (RL) has been introduced as a promising approach to learn the resource management policies to guide the scaling actions under the dynamic and uncertain cloud environment. However, RL methods face the following challenges in steering predictive autoscaling, such as lack of accuracy in decision-making, inefficient sampling and significant variability in workload patterns that may cause policies to fail at test time. To this end, we propose an end-to-end predictive meta model-based RL algorithm, aiming to optimally allocate resource to maintain a stable CPU utilization level, which incorporates a specially-designed deep periodic workload prediction model as the input and embeds the Neural Process to guide the learning of the optimal scaling actions over numerous application services in the Cloud. Our algorithm not only ensures the predictability and accuracy of the scaling strategy, but also enables the scaling decisions to adapt to the changing workloads with high sample efficiency. Our method has achieved significant performance improvement compared to the existing algorithms and has been deployed online at Alipay, supporting the autoscaling of applications for the world-leading payment platform.

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

↑