Skip to content
Research Article Open access CC BY 4.0

Dynamic Scaling and Performance Optimization for Microservices using Kubernetes

Konstantin Vishnivetskii

Asian Journal of Research in Computer Science · pp. 213–220 · Published 15 Feb 2025

10.9734/ajrcos/2025/v18i3587

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.

Kubernetes microservice architecture automatic scaling fault tolerance load balancing controllers security monitoring

Cited by 2

Securing High-Concurrency Ticket Sales: A Framework Based on Microservice

Zhiyong Zhang, Xiaoyan Zhang, Xiao-Qi Li · arXiv.org · 2025

Enhancing Kubernetes-Based Microservices Deployment Efficiency Through DevOps and GitOps

Irvan Maulana, Rusydi Umar, A. Yudhana · Ilkom Jurnal Ilmiah · 2025

Article metrics

Real usage data collected on this platform.

29

Page views

0

PDF downloads

4

Outbound clicks

2

Citations

Views over time

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

Traffic sources

Referring site, by host.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.