基于强化学习的无服务器平台结构并行农场骨架动态管理
Reinforcement Learning-Based Dynamic Management of Structured Parallel Farm Skeletons on Serverless Platforms
AI总结:
本文提出基于强化学习的无服务器平台结构并行农场骨架动态管理框架,通过AI驱动的动态扩展提升性能与容错性,有效应对平台限制。
摘要:
我们提出了一种框架,用于在无服务器平台上动态管理结构化的并行处理骨架。我们的目标是将HPC-like性能和容错性引入无服务器和连续环境,同时保留骨架的可编程性优势。作为第一步,我们专注于广为人知的农场模式及其在开源OpenFaaS平台上的实现,将工作池的自动扩展视为一种QoS感知的资源管理问题。该框架将可重用的农场模板与基于Gymnasium的监控和控制层结合,该层暴露队列、时间和QoS指标,以供反应式和基于学习的控制器使用。我们研究了AI驱动的动态扩展在管理农场并行度方面的有效性,通过OpenFaaS上的无服务器函数可扩展性进行探讨。特别是,我们讨论了自动扩展模型及其训练,并评估了两种强化学习(RL)策略与基于简单农场性能模型的基准反应式管理的对比。我们的结果表明,基于AI的管理比纯模型驱动的性能控制更能适应平台特定的限制,从而在保持高效资源使用和稳定扩展行为的同时提高QoS。
英文摘要:
We present a framework for dynamic management of structured parallel processing skeletons on serverless platforms. Our goal is to bring HPC-like performance and resilience to serverless and continuum environments while preserving the programmability benefits of skeletons. As a first step, we focus on the well known Farm pattern and its implementation on the open-source OpenFaaS platform, treating autoscaling of the worker pool as a QoS-aware resource management problem. The framework couples a reusable farm template with a Gymnasium-based monitoring and control layer that exposes queue, timing, and QoS metrics to both reactive and learning-based controllers. We investigate the effectiveness of AI-driven dynamic scaling for managing the farm's degree of parallelism via the scalability of serverless functions on OpenFaaS. In particular, we discuss the autoscaling model and its training, and evaluate two reinforcement learning (RL) policies against a baseline of reactive management derived from a simple farm performance model. Our results show that AI-based management can better accommodate platform-specific limitations than purely model-based performance steering, improving QoS while maintaining efficient resource usage and stable scaling behaviour.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。