一种用于无服务器函数智能自动扩展的深度循环-强化学习方法
A Deep Recurrent-Reinforcement Learning Method for Intelligent AutoScaling of Serverless Functions
AI总结:
本文提出将LSTM网络与无模型PPO算法集成用于无服务器函数自动扩展,解决部分可观察云环境下的性能瓶颈,实验表明该方法较阈值法提升吞吐量18%、函数执行13%,并多考虑8.4%的函数实例。
摘要:
FaaS引入了一种轻量级的、基于函数的云执行模型,在IoT边缘数据处理和异常检测等一系列应用中具有相关性。虽然云服务提供商提供近乎无限的函数弹性,但这些应用通常经历波动的负载和更严格的性能约束。典型的CSP策略是基于CPU或内存等基于监控的阈值,凭经验确定和调整所需的函数实例或资源,即自动扩展,以应对需求和性能。然而,阈值配置需要专家知识、历史数据或环境的完整视图,使自动扩展成为缺乏自适应解决方案的性能瓶颈。RL算法被证明有利于分析复杂的云环境,并产生最大化预期目标的自适应策略。大多数现实的云环境通常涉及操作干扰且可见性有限,使其成为部分可观察的。在高动态环境中解决可观察性的一般方法是将Recurrent单元与无模型RL算法集成,并将决策过程建模为POMDP。因此,在本文中,我们研究了用于函数自动扩展的无模型Recurrent RL代理,并将其与无模型PPO算法进行比较。我们探索了LSTM网络与最先进的PPO算法的集成,发现在我们的实验和评估设置下,循环策略能够捕获环境参数,并在函数自动扩展方面显示出有希望的结果。我们进一步将基于PPO的自动扩展代理与商业使用的基于阈值的函数自动扩展进行比较,并提出基于LSTM的自动扩展代理能够将吞吐量提高18%,函数执行提高13%,并多考虑8.4%的函数实例。
英文摘要:
FaaS introduces a lightweight, function-based cloud execution model that finds its relevance in a range of applications like IoT-edge data processing and anomaly detection. While cloud service providers offer a near-infinite function elasticity, these applications often experience fluctuating workloads and stricter performance constraints. A typical CSP strategy is to empirically determine and adjust desired function instances or resources, known as autoscaling, based on monitoring-based thresholds such as CPU or memory, to cope with demand and performance. However, threshold configuration either requires expert knowledge, historical data or a complete view of the environment, making autoscaling a performance bottleneck that lacks an adaptable solution. RL algorithms are proven to be beneficial in analysing complex cloud environments and result in an adaptable policy that maximizes the expected objectives. Most realistic cloud environments usually involve operational interference and have limited visibility, making them partially observable. A general solution to tackle observability in highly dynamic settings is to integrate Recurrent units with model-free RL algorithms and model a decision process as a POMDP. Therefore, in this paper, we investigate model-free Recurrent RL agents for function autoscaling and compare them against the model-free PPO algorithm. We explore the integration of a LSTM network with the state-of-the-art PPO algorithm to find that under our experimental and evaluation settings, recurrent policies were able to capture the environment parameters and show promising results for function autoscaling. We further compare a PPO-based autoscaling agent with commercially used threshold-based function autoscaling and posit that a LSTM-based autoscaling agent is able to improve throughput by 18%, function execution by 13% and account for 8.4% more function instances.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。