paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FaaSConf: QoS-aware Hybrid Resources Configuration for Serverless Workflows

FaaSConf:面向无服务器工作流的 QoS 感知混合资源配置
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 1/10 · 该论文研究的是用多智能体强化学习优化 Serverless 工作流的硬件资源与并发度配置,属于分布式系统/运行时资源管理方向,与用户关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析几乎没有交集。引用 10 inbox
Yilun Wang, Pengfei Chen, Hui Dou, Yiwen Zhang, Guangba Yu, Zilong He, Haiyu Huang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出基于多智能体强化学习的混合资源配置方法 FaaSConf,联合调优硬件资源与并发度,在保证端到端 QoS 的同时降低资源成本。

无服务器计算(FaaS)中,由多个短生命周期函数组成的工作流已成为重要模式,但其资源配置比单个独立函数困难得多。一方面,工作流面临动态且并发的用户负载,QoS 违约风险升高;另一方面,工作流内某个函数的性能会受到其他函数资源重配置的影响;而在单实例并发处理模式下,并发限制又是决定每实例请求容量的关键配置参数。为此,本文提出 FaaSConf,一种 QoS 感知的混合资源配置方法,利用多智能体强化学习(MARL)同时配置硬件资源与并发度,从而在最小化资源成本的同时保证端到端 QoS。为提升决策质量,作者在 MARL 中引入注意力机制以刻画函数之间复杂的性能依赖关系,并提出安全探索策略以缓解 QoS 违约,使配置探索更安全高效。实验结果表明,FaaSConf 显著优于现有最先进方法,平均降低 26.5% 的成本,并对动态负载变化表现出鲁棒性。

问题
无服务器工作流在动态并发负载下,如何联合配置硬件资源与实例并发限制,以在保证端到端 QoS 的同时最小化资源成本;难点在于工作流内函数间性能相互依赖。
方法
采用多智能体强化学习进行混合资源配置,并用注意力机制捕获函数间的复杂性能依赖;同时提出安全探索策略以减少 QoS 违约,提升配置探索的安全性与效率。
评估
与现有最先进方法进行对比实验,结果显示平均降低 26.5% 的资源成本,并验证了在动态负载变化下的鲁棒性。
原文摘要(Abstract)

Serverless computing, also known as Function-as-a-Service (FaaS), is a significant development trend in modern software system architecture. The workflow composition of multiple short-lived functions has emerged as a prominent pattern in FaaS, exposing a considerable resources configuration challenge compared to individual independent serverless functions. This challenge unfolds in two ways. Firstly, workflows frequently encounter dynamic and concurrent user workloads, increasing the risk of QoS violations. Secondly, the performance of a function can be affected by the resource reprovision of other functions within the workflow.With the popularity of the mode of concurrent processing in one single instance, concurrency limit as a critical configuration parameter imposes restrictions on the capacity of requests per instance. In this study, we present FaaSConf, a QoS-aware hybrid resource configuration approach that uses multi-agent reinforcement learning (MARL) to configure hybrid resources, including hardware resources and concurrency, thereby ensuring end-to-end QoS while minimizing resource costs. To enhance decision-making, we employ an attention technique in MARL to capture the complex performance dependencies between functions. We further propose a safe exploration strategy to mitigate QoS violations, resulting in a safer and efficient configuration exploration. The experimental results demonstrate that FaaSConf outperforms state-of-the-art approaches significantly. On average, it achieves a 26.5% cost reduction while exhibiting robustness to dynamic load changes.CCS CONCEPTS• Computing methodologies → Distributed computing methodologies.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{Wang0D0YHH24,
  title = {FaaSConf: QoS-aware Hybrid Resources Configuration for Serverless Workflows},
  author = {Yilun Wang and Pengfei Chen and Hui Dou and Yiwen Zhang and Guangba Yu and Zilong He and Haiyu Huang},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695477}
}