Dynamic Scaling and Performance Optimization for Microservices using Kubernetes

This study evaluates Kubernetes' role in managing microservices under high-load conditions, emphasizing the efficiency of Horizontal Pod Autoscaler (HPA), Cluster Autoscaler, and security mechanisms. The research demonstrates how Kubernetes enhances scalability, reduces failure risks, and ensures stable performance. Experimental results validate its effectiveness in optimizing CPU load and response time for fluctuating workloads. The problems faced by developers when implementing this software were also considered, namely: security settings, optimization of auto-scaling, and configuration scheme of network interaction between components. The experimental results presented in Tables 1–3 confirm the effectiveness of automatic microservices scaling in Kubernetes. Under loads of 10,000 and 100,000 connections, the average CPU load without scaling reached 606.34–555 ms, whereas with Horizontal Pod Autoscaler (HPA) enabled, this metric was reduced to 219–293 ms. Similarly, server response time in scenarios 1 and 2 decreased by more than half (from 43 to 12 ms and from 58 to 32 ms, respectively). These findings demonstrate that HPA and Cluster Autoscaler mechanisms, designed for dynamically adjusting the number of nodes based on the current load, optimize computational resources and enhance system responsiveness even under increasing traffic. The article targets developers and software architects optimizing microservice applications. In conclusion, recommendations are provided on leveraging Kubernetes to build a flexible, fault-tolerant microservice architecture capable of handling high loads. The article is aimed at developers and architects of software systems that optimize microservice applications. In conclusion, recommendations are given on using Kubernetes to create a flexible, fault-tolerant microservice structure ready for high loads.

Authors

Institutions

Publication Details

Journal
Asian Journal of Research in Computer Science
Published
2025-02-15
DOI
https://doi.org/10.9734/ajrcos/2025/v18i3587
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dynamic Scaling and Performance Optimization for Microservices using Kubernetes

Konstantin Vishnivetskii
Asian Journal of Research in Computer Science
Software System Performance and Reliability
article

Dynamic Scaling and Performance Optimization for Microservices using Kubernetes

Konstantin Vishnivetskii
article en

Abstract

This study evaluates Kubernetes' role in managing microservices under high-load conditions, emphasizing the efficiency of Horizontal Pod Autoscaler (HPA), Cluster Autoscaler, and security mechanisms. The research demonstrates how Kubernetes enhances scalability, reduces failure risks, and ensures stable performance. Experimental results validate its effectiveness in optimizing CPU load and response time for fluctuating workloads. The problems faced by developers when implementing this software were also considered, namely: security settings, optimization of auto-scaling, and configuration scheme of network interaction between components. The experimental results presented in Tables 1–3 confirm the effectiveness of automatic microservices scaling in Kubernetes. Under loads of 10,000 and 100,000 connections, the average CPU load without scaling reached 606.34–555 ms, whereas with Horizontal Pod Autoscaler (HPA) enabled, this metric was reduced to 219–293 ms. Similarly, server response time in scenarios 1 and 2 decreased by more than half (from 43 to 12 ms and from 58 to 32 ms, respectively). These findings demonstrate that HPA and Cluster Autoscaler mechanisms, designed for dynamically adjusting the number of nodes based on the current load, optimize computational resources and enhance system responsiveness even under increasing traffic. The article targets developers and software architects optimizing microservice applications. In conclusion, recommendations are provided on leveraging Kubernetes to build a flexible, fault-tolerant microservice architecture capable of handling high loads. The article is aimed at developers and architects of software systems that optimize microservice applications. In conclusion, recommendations are given on using Kubernetes to create a flexible, fault-tolerant microservice structure ready for high loads.

Asian Journal of Research in Computer ScienceVol. 18(3)
Almaty Management University (KZ)
Industry, innovation and infrastructure
Openalex Percentile: Top 98%
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.