Services on Demand
Journal
Article
Indicators
Related links
Cited by Google
Similars in Google
Share
South African Computer Journal
On-line version ISSN 2313-7835Print version ISSN 1015-7999
Abstract
AL-SHAIKH, Rana Zuhair; AL-NAYAR, Muna M. Jawad and HASAN, Ahmed M.. Reinforcement Learning algorithms for adaptive load-balancing for Web applications. SACJ [online]. 2025, vol.37, n.2, pp.121-145. ISSN 2313-7835. https://doi.org/10.18489/sacj.v37i2.20753.
This research investigates the application of reinforcement learning (RL) to optimise load balancing in Nginx web applications. We developed a simulation environment on AWS to evaluate three enhanced RL algorithms: Epsilon-greedy, Upper Confidence Bound, and Proximal Policy Optimization (PPO) against classic methods (round-robin and Least Connections) under diverse load conditions, including normal loads, burst loads, server failures, and heterogeneous server instances. Our results demonstrate that RL, particularly PPO, significantly outperforms classic methods. Notably, PPO achieved up to a 30% increase in throughput, a 20% reduction in latency, and a 5% improvement in the successful message rate compared to the best-performing classic algorithm. These improvements were most pronounced under challenging conditions such as burst loads and server failures, highlighting the adaptability and resilience of RL-based load balancing. Categories · Computer systems organisation ~ Architectures, Distributed architectures, Cloud computing
Keywords : Load-balancing; Reinforcement Learning; Proximal Policy Optimization; Epsilon Greedy; Upper Confidence Bound.












