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.
@article{arxiv.2605.01533,
title = {Genetic Programming for Self-Adaptive Auto-Scaling of Microservices},
author = {Jia Li and Mehrdad Sabetzadeh and Shiva Nejati},
journal= {arXiv preprint arXiv:2605.01533},
year = {2026}
}
Comments
This paper has been accepted into the 18th Symposium on Search-Based Software Engineering 2026 (SSBSE 2026)