arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.23494cs.DCcs.PF
收藏

云原生计算中API资源的最优配置

Optimal Configuration of API Resources in Cloud Native Computing

KU Leuven(荷语鲁汶大学)

Eddy Truyen, Wouter Joosen

AI总结:

本文提出通过前期筛选和贝叶斯优化,在云原生计算中优化微服务的资源配置,以提升性能并平衡采样成本与最优配置的差距。

摘要:

本文阐述了如何将现有的离线性能优化框架应用于微服务应用程序在DevOps生命周期的发布阶段。在发布阶段对CPU和内存的资源分配配置参数进行优化仍然是一个几乎未被探索的问题,因为大多数研究都集中在DevOps周期的运维阶段对微服务的智能调度和自动扩展上。然而,基于CPU使用情况的容器水平自动扩展可能仍会留下内存分配不当的问题,如果在部署阶段之前没有对两种资源进行预先的精细调整。我们通过TeaStore微服务应用程序评估性能优化框架,并通过统计方法比较不同的优化算法,以支持在采样成本和最优资源配置距离之间做出有信息量的决策。这表明,当目标是找到最优资源配置时,通过前期因素筛选来减少搜索空间是有帮助的,只要采样预算可以接受。当目标是统计比较不同算法时,筛选也必须应用,以使在搜索空间中收集所有数据点的数据收集成为可能。然而,如果目标是找到一个近最优配置,则运行贝叶斯优化而不进行筛选会更好。

英文摘要:

This paper presents how an existing framework for offline performance optimization can be applied to microservice applications during the Release phase of the DevOps life cycle. Optimization of resource allocation configuration parameters for CPU and memory during the Release phase remains a largely unexplored problem as most research has focused on intelligent scheduling and autoscaling of microservices during the Ops stage of the DevOps cycle. Yet horizontal auto-scaling of containers, based on CPU usage for instance, may still leave these containers with an inappropriately allocated amount of memory, if no upfront fine-tuning of both resources is applied before the Deployment phase. We evaluate the performance optimization framework using the TeaStore microservice application and statistically compare different optimization algorithms, supporting informed decisions about their trade-offs between sampling cost and distance to the optimal resource configuration. This shows that upfront factor screening, for reducing the search space, is helpful when the goal is to find the optimal resource configuration with an affordable sampling budget. When the goal is to statistically compare different algorithms, screening must also be applied to make data collection of all data points in the search space feasible. If the goal is to find a near-optimal configuration, however, it is better to run bayesian optimization without screening.

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

↑