基于多专家共识的自适应扩缩容,提升无服务器环境性能与成本效率。
An Auto-Scaling Approach for Serverless Environments Based on a Multi-Expert Consensus Mechanism
- 通过依赖图分析关键函数,结合轻量级模型预测资源需求。
- 多模型融合预测准确率达99.88%,误差低于主流混合方法。
- 兼顾冷启动与成本,适用于云原生应用的稳定扩缩容场景。
无服务器计算提供自动资源管理与按使用付费执行,但动态工作负载、冷启动延迟及函数间依赖关系使有效自动扩缩容仍具挑战。本文提出一种依赖感知的自动扩缩容框架,整合基于图的瓶颈识别、短期工作负载预测、多模型共识与成本敏感的控制策略。无服务器应用以有向依赖图表示,利用加权度中心性识别结构关键函数。资源需求通过轻量级MLP、LSTM和CNN模型预测,其输出采用受贝叶斯平均启发的性能加权概率集成方式融合。控制器进一步引入冷启动感知与成本对比,决策是否扩容、缩容或保持。基于真实工作负载数据的实验表明,监督式预测在扩缩容决策生成中显著优于无监督聚类。所提集成方法实现99.88%的预测准确率,且预测误差低于代表性混合预测方法。在多种云计价模式下的评估也显示,系统在满足性能目标的同时持续降低基础设施成本。结果表明,结合依赖分析、多专家预测与成本感知控制,可为无服务器环境提供鲁棒且实用的自动扩缩容解决方案。
原文摘要 · Abstract (English)
Serverless computing provides automatic resource management and pay-per-use execution, but effective autoscaling remains challenging because of dynamic workloads, cold-start latency, and dependencies among functions. We present a dependency-aware autoscaling framework that integrates graph-based bottleneck identification, short-term workload forecasting, multi-model consensus, and cost-aware scaling control. Serverless applications are represented as directed dependency graphs, and structurally important functions are identified using weighted degree centrality. Resource demand is predicted using lightweight MLP, LSTM, and CNN models. Their outputs are combined through a performance-weighted probabilistic ensemble inspired by Bayesian model averaging. The controller further incorporates cold-start awareness and cost comparison to select among scale-up, scale-down, and hold actions. Experiments using real workload traces show that supervised forecasting substantially outperforms unsupervised clustering for autoscaling decision generation. The proposed ensemble achieves 99.88 percent prediction accuracy and reduces prediction error compared with representative hybrid forecasting methods. Evaluations across multiple cloud pricing models also demonstrate consistent infrastructure cost reductions while maintaining performance targets. The results show that combining dependency analysis, multi-expert forecasting, and cost-aware control provides a robust and practical solution for serverless autoscaling.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。