Publication:

gym-hpa: Efficient Auto-Scaling via Reinforcement Learning for Complex Microservice-based Applications in Kubernetes

 
cris.virtual.department#PLACEHOLDER_PARENT_METADATA_VALUE#
cris.virtual.department#PLACEHOLDER_PARENT_METADATA_VALUE#
cris.virtual.department#PLACEHOLDER_PARENT_METADATA_VALUE#
cris.virtual.department#PLACEHOLDER_PARENT_METADATA_VALUE#
cris.virtual.orcid0000-0003-2618-3311
cris.virtual.orcid0000-0003-4824-1199
cris.virtual.orcid0000-0003-0575-5894
cris.virtual.orcid0000-0002-6276-2057
cris.virtualsource.departmentcc837ec8-2eb7-46b6-90d8-480d745c3fcc
cris.virtualsource.department505a9fa2-2261-4859-8c77-73c2ba21244c
cris.virtualsource.departmentbe209fe9-cb8c-4c91-821b-9c93bd548ca7
cris.virtualsource.department5fc1041b-34c9-4bdb-ba41-1a986f0c4c25
cris.virtualsource.orcidcc837ec8-2eb7-46b6-90d8-480d745c3fcc
cris.virtualsource.orcid505a9fa2-2261-4859-8c77-73c2ba21244c
cris.virtualsource.orcidbe209fe9-cb8c-4c91-821b-9c93bd548ca7
cris.virtualsource.orcid5fc1041b-34c9-4bdb-ba41-1a986f0c4c25
dc.contributor.authorPereira dos Santos, José Pedro
dc.contributor.authorWauters, Tim
dc.contributor.authorVolckaert, Bruno
dc.contributor.authorDe Turck, Filip
dc.date.accessioned2026-04-20T09:53:09Z
dc.date.available2026-04-20T09:53:09Z
dc.date.createdwos2025-09-26
dc.date.issued2023
dc.description.abstractContainers have revolutionized application deployment and life-cycle management in current cloud platforms. Applications have evolved from large monoliths to complex graphs of loosely-coupled microservices aiming to improve deployment flexibility and operational efficiency. However, modern microservice-based architectures are challenging since proper allocation and scaling of microservices is a difficult task due to their complex inter-dependencies. Existing works do not consider microservice dependencies, which could lead to the application’s performance degradation when service demand increases. This paper studies the impact of microservice interdependencies in auto-scaling mechanisms by proposing a novel framework named gym-hpa that enables different auto-scaling goals via Reinforcement Learning (RL). The framework has been developed based on the OpenAI Gym library for the popular Kubernetes (K8s) platform to bridge the gap between RL and auto-scaling research by training RL agents on real cloud environments. The aim is to improve resource usage and reduce the application’s response time in future cloud platforms by considering microservice inter-dependencies in horizontal scaling. Experiments with microservice benchmark applications show that RL agents trained with the gym-hpa framework can reduce on average resource usage by 30% and reduce the application’s response time by 25% compared to default scaling mechanisms.
dc.description.wosFundingTextJose Santos is funded by the Research Foundation Flanders (FWO), grant number 1299323N.
dc.identifier.doi10.1109/noms56928.2023.10154298
dc.identifier.issn1542-1201
dc.identifier.urihttps://imec-publications.be/handle/20.500.12860/59122
dc.language.isoeng
dc.provenance.editstepusergreet.vanhoof@imec.be
dc.publisherIEEE
dc.source.beginpage1
dc.source.conferenceIEEE/IFIP Network Operations and Management Symposium - NOMS 2023
dc.source.conferencedate2023-05-08
dc.source.conferencelocationMiami, USA
dc.source.endpage9
dc.source.journalIEEE/IFIP Network Operations and Management Symposium - NOMS 2023
dc.source.numberofpages9
dc.subject.keywordsWORKLOAD PREDICTION
dc.subject.keywordsWEB APPLICATIONS
dc.subject.keywordsCLOUD
dc.subject.keywordsELASTICITY
dc.subject.keywordsCONTROLLER
dc.subject.keywordsMANAGEMENT
dc.title

gym-hpa: Efficient Auto-Scaling via Reinforcement Learning for Complex Microservice-based Applications in Kubernetes

dc.typeProceedings paper
dspace.entity.typePublication
imec.internal.crawledAt2026-04-07
imec.internal.sourcecrawler
imec.internal.wosCreatedAt2026-04-07
Files

Original bundle

Name:
8302.pdf
Size:
1.58 MB
Format:
Adobe Portable Document Format
Description:
Accepted
Publication available in collections: