arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.12864math.OCcs.LG
收藏

OptScaler:一种用于云端鲁棒自动扩缩容的协同框架

OptScaler: A Collaborative Framework for Robust Autoscaling in the Cloud

Zhejiang University(浙江大学);Ant Group(蚂蚁集团)

Ding Zou, Wei Lu, Zhibo Zhu, Xingyu Lu, Jun Zhou, Xiaojin Wang, Kangyu Liu, Haiqing Wang, Kefan Wang, Renen Sun

AI总结:

OptScaler通过优化模块协同主动预测与被动自校正估计,并结合MPC和机会约束,实现鲁棒自动扩缩容,使SLO违规减少36%以上,并已部署于支付宝。

摘要:

自动扩缩容是云计算中的关键机制,能够根据动态工作负载自主调整计算资源。这对于具有多样化负载模式的共置、长期运行的应用程序尤其有价值。自动扩缩容的主要目标是将资源利用率调节到期望水平,有效平衡资源优化需求与服务级别目标(SLO)的满足。许多现有的主动式自动扩缩容框架可能会因云工作负载的频繁波动而产生预测偏差。另一方面,反应式框架依赖实时系统反馈,但其滞后特性可能导致违反严格的SLO。混合框架虽然普遍存在,但通常具有独立运行的主动和被动模块,可能导致不兼容并削弱整体决策效能。为应对这些挑战,我们提出了OptScaler,这是一个通过优化模块集成主动和被动模块的协同自动扩缩容框架。主动模块向优化模块提供可靠的未来工作负载预测,而被动模块则提供用于实时更新的自校正估计器。通过在优化模块中嵌入模型预测控制(MPC)机制和机会约束,我们进一步增强了其鲁棒性。数值结果表明,我们的工作负载预测模型和协同框架具有优越性,与流行的反应式、主动式或混合自动扩缩容器相比,SLO违规减少了36%以上。值得注意的是,OptScaler已成功部署在支付宝上,为世界领先的支付平台提供自动扩缩容支持。

英文摘要:

Autoscaling is a critical mechanism in cloud computing, enabling the autonomous adjustment of computing resources in response to dynamic workloads. This is particularly valuable for co-located, long-running applications with diverse workload patterns. The primary objective of autoscaling is to regulate resource utilization at a desired level, effectively balancing the need for resource optimization with the fulfillment of Service Level Objectives (SLOs). Many existing proactive autoscaling frameworks may encounter prediction deviations arising from the frequent fluctuations of cloud workloads. Reactive frameworks, on the other hand, rely on realtime system feedback, but their hysteretic nature could lead to violations of stringent SLOs. Hybrid frameworks, while prevalent, often feature independently functioning proactive and reactive modules, potentially leading to incompatibility and undermining the overall decision-making efficacy. In addressing these challenges, we propose OptScaler, a collaborative autoscaling framework that integrates proactive and reactive modules through an optimization module. The proactive module delivers reliable future workload predictions to the optimization module, while the reactive module offers a self-tuning estimator for real-time updates. By embedding a Model Predictive Control (MPC) mechanism and chance constraints into the optimization module, we further enhance its robustness. Numerical results have demonstrated the superiority of our workload prediction model and the collaborative framework, leading to over a 36% reduction in SLO violations compared to prevalent reactive, proactive, or hybrid autoscalers. Notably, OptScaler has been successfully deployed at Alipay, providing autoscaling support for the world-leading payment platform.

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

↑