arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.01533cs.SE
收藏

基于遗传编程的微服务自适应自动扩展

Genetic Programming for Self-Adaptive Auto-Scaling of Microservices

University of Ottawa(渥太华大学)

Jia Li, Mehrdad Sabetzadeh, Shiva Nejati

AI总结:

本文提出AutoSLO框架,利用遗传编程动态调整微服务副本以满足SLO并减少资源消耗,通过持续监控反馈循环实现主动预防SLO违规。

摘要:

微服务架构广泛应用于现代系统,自动扩展对于满足服务等级目标(SLOs)至关重要。然而,确定微服务的最佳扩展策略具有挑战性,而反应式资源分配常导致成本高昂的过量或不足配置。本文提出AutoSLO,一种基于学习的自适应扩展框架,通过动态调整微服务副本以满足SLO并最小化资源使用。AutoSLO采用持续监控-适应反馈循环,并利用遗传编程学习和进化扩展逻辑,使部署的微服务系统能够主动防止SLO违规,而非反复寻找一次性扩展操作。我们在两个案例研究系统——在线购物平台和基于大语言模型的聊天机器人上评估了AutoSLO,并证明该框架显著减少了资源使用,同时保持了低频率的SLO违规,所有问题均在短时间内得到解决。

英文摘要:

Microservice architecture is widely adopted in modern systems, where auto-scaling is critical for satisfying service-level objectives (SLOs). However, determining optimal scaling for microservices is difficult, and reactive resource allocation often leads to costly over- or under-provisioning. We propose AutoSLO, a learning-based, self-adaptive scaling framework that dynamically adjusts microservice replicas to meet SLOs while minimizing resource usage. AutoSLO uses a continuous monitoring-adaptation feedback loop and leverages genetic programming to learn and evolve scaling logic, enabling the deployed microservice system to proactively prevent SLO violations rather than repeatedly searching for one-off scaling actions. We evaluate AutoSLO on two case-study systems -- an online shopping platform and a chatbot based on large language models -- and show that this framework substantially reduces resource usage while maintaining a low frequency of SLO violations, all of which are resolved within a short time window.

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

↑