Towards resource-efficient reactive and proactive auto-scaling for microservice architectures

被引:2
作者
Ahmad, Hussain [1 ]
Treude, Christoph [2 ]
Wagner, Markus [3 ]
Szabo, Claudia [1 ]
机构
[1] Univ Adelaide, Sch Comp & Math Sci, Adelaide, Australia
[2] Singapore Management Univ, Sch Comp & Informat Syst, Singapore, Singapore
[3] Monash Univ, Fac IT, Dept Data Sci & AI, Clayton, Australia
关键词
Software architecture; Auto-scaling; Microservices; Resource management; Self-adaptation; Kubernetes;
D O I
10.1016/j.jss.2025.112390
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Microservice architectures have become increasingly popular in both academia and industry, providing enhanced agility, elasticity, and maintainability in software development and deployment. To simplify scaling operations in microservice architectures, container orchestration platforms such as Kubernetes feature Horizontal Pod Auto-scalers (HPAs) designed to adjust the resources of microservices to accommodate fluctuating workloads. However, existing HPAs are not suitable for resource-constrained environments, as they make scaling decisions based on the individual resource capacities of microservices, leading to service unavailability, resource mismanagement, and financial losses. Furthermore, the inherent delay in initializing and terminating microservice pods hinders HPAs from timely responding to workload fluctuations, further exacerbating these issues. To address these concerns, we propose Smart HPA and ProSmart HPA, reactive and proactive resource-efficient horizontal pod auto-scalers respectively. Smart HPA employs a reactive scaling policy that facilitates resource exchange among microservices, optimizing auto-scaling in resource-constrained environments. For ProSmart HPA, we develop a machine-learning-driven resource-efficient scaling policy that proactively manages resource demands to address delays caused by microservice pod startup and termination, while enabling preemptive resource sharing in resource-constrained environments. Our experimental results show that Smart HPA outperforms the Kubernetes baseline HPA, while ProSmart HPA exceeds both Smart HPA and Kubernetes HPA by reducing resource overutilization, overprovisioning, and underprovisioning, and increasing resource allocation to microservice applications.
引用
收藏
页数:18
相关论文
共 72 条
[1]  
Abdulsatar M, 2024, Arxiv, DOI [arXiv:2403.15169, 10.1007/s10586-024-05092-0, DOI 10.1007/S10586-024-05092-0]
[2]  
Aderaldo Carlos M., 2017, 2017 IEEE/ACM 1st International Workshop on Establishing the Community-Wide Infrastructure for Architecture-Based Software Engineering (ECASE). Proceedings, P8, DOI 10.1109/ECASE.2017.4
[3]  
Ahmad H., 2024, Replication package for ProSmart hpa
[4]   Smart HPA: A Resource-Efficient Horizontal Pod Auto-scaler for Microservice Architectures [J].
Ahmad, Hussain ;
Treude, Christoph ;
Wagner, Markus ;
Szabo, Claudia .
IEEE 21ST INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE, ICSA 2024, 2024, :46-57
[5]   A Review on C3I Systems' Security: Vulnerabilities, Attacks, and Countermeasures [J].
Ahmad, Hussain ;
Dharmadasa, Isuru ;
Ullah, Faheem ;
Babar, Muhammad Ali .
ACM COMPUTING SURVEYS, 2023, 55 (09)
[6]   Proactive Random-Forest Autoscaler for Microservice Resource Allocation [J].
Al Qassem, Lamees M. M. ;
Stouraitis, Thanos ;
Damiani, Ernesto ;
Elfadel, Ibrahim M. .
IEEE ACCESS, 2023, 11 :2570-2585
[7]   Autonomic Vertical Elasticity of Docker Containers with ELASTICDOCKER [J].
Al-Dhuraibi, Yahya ;
Paraiso, Fawaz ;
Djarallah, Nabil ;
Merle, Philippe .
2017 IEEE 10TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD), 2017, :472-479
[8]  
Amazon, 2024, Amazon elastic kubernetes service (EKS)
[9]  
Amazon, 2024, Amazon web services, aws lambda
[10]   Adaptive self-learning distributed and centralized control approaches for smart factories [J].
Antons, Oliver ;
Arlinghaus, Julia C. .
54TH CIRP CONFERENCE ON MANUFACTURING SYSTEMS 2021-TOWARDS DIGITALIZED MANUFACTURING 4.0, CMS 2021, 2021, 104 :1577-1582