AI-Driven Load Balancing for High-Availability Microservices in Cloud Environments

Authors

  • Dr. Anand R Fadte CTO / Visiting Faculty, Department of Information Technology, HSB - Hari Shankar Singhania School of Business, JK Lakshmipat University, Mahapura Road, near Mahindra SEZ, Lalya Ka Bas, Jaipur, Rajasthan, India, PIN 302026 Author https://orcid.org/0009-0001-5511-9813 (unauthenticated)

Keywords:

load balancing, microservices, high availability, reinforcement learning, cloud computing, workload forecasting, Kubernetes

Abstract

Microservice applications depend on load balancers to spread requests over replicas that differ in speed, location and health. Static and reactive policies respond only after queues have formed or a node has failed. This paper proposes an AI-driven load balancer that combines an LSTM forecast of short-term load with a reinforcement-learning routing policy that also receives replica health signals. The balancer was evaluated in a simulated twelve-service, three-zone cluster with 30 repetitions per configuration, with load surges and node failures injected, and compared with round robin, least connections, power of two choices and threshold-based autoscaling. The proposed method gave a mean p95 latency of 139 ms against 171 ms for the best baseline (power of two choices; p <0.001), availability of 99.93% against 99.69% (p <0.001), and recovery from a node failure in 14 s against 27 s. Removing the forecaster or the health signals increased latency significantly. Because the cluster was simulated and the policy was trained on the same workload family, the gains indicate potential and need confirmation on a production cluster.

Downloads

Download data is not yet available.

References

Burns, B., Grant, B., Oppenheimer, D., Brewer, E., & Wilkes, J. (2016). Borg, Omega, and Kubernetes. Communications of the ACM, 59(5), 50–57.

Chen, Z., Hu, J., Min, G., Zomaya, A. Y., & El-Ghazawi, T. (2018). Machine learning for cloud resource management: A survey. IEEE Access, 6, 35–52.

Dean, J., & Barroso, L. A. (2013). The tail at scale. Communications of the ACM, 56(2), 74–80.

Gan, Y., Zhang, Y., Cheng, D., Shetty, A., Rathi, P., Katarki, N., et al. (2019). An open-source benchmark suite for microservices and their hardware-software implications for cloud and edge systems. Proceedings of ASPLOS, 3–18.

Gandhi, A., Harchol-Balter, M., Raghunathan, R., & Kozuch, M. A. (2012). AutoScale: Dynamic, robust capacity management for multi-tier data centers. ACM Transactions on Computer Systems, 30(4), 14.

Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780.

Mao, H., Alizadeh, M., Menache, I., & Kandula, S. (2016). Resource management with deep reinforcement learning. Proceedings of the 15th ACM Workshop on Hot Topics in Networks, 50–56.

Mitzenmacher, M. (2001). The power of two choices in randomized load balancing. IEEE Transactions on Parallel and Distributed Systems, 12(10), 1094–1104.

Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., et al. (2015). Human-level control through deep reinforcement learning. Nature, 518(7540), 529–533.

Reiss, C., Tumanov, A., Ganger, G. R., Katz, R. H., & Kozuch, M. A. (2012). Heterogeneity and dynamicity of clouds at scale: Google trace analysis. Proceedings of the ACM Symposium on Cloud Computing, 7.

Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. (2017). Proximal policy optimization algorithms. arXiv:1707.06347.

Downloads

Published

3 December 2026

Issue

Section

Original Research Articles

How to Cite

Dr. Anand R Fadte. (2026). AI-Driven Load Balancing for High-Availability Microservices in Cloud Environments. Scientific Journal of Artificial Intelligence and Blockchain Technologies, 3(4), 11-15. https://sjaibt.org/index.php/j/article/view/193