Open-access Reinforcement Learning algorithms for adaptive load-balancing for Web applications

Abstract

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

Load-balancing; Reinforcement Learning; Proximal Policy Optimization; Epsilon Greedy; Upper Confidence Bound


location_on
South African Institute of Computer Scientists and Information Technologists (SAICSIT) Rhodes University, Department of Computer Science, Grahamstown, Eastern Cape, ZA, 6140, Tel: +27 46 603 8635 - E-mail: sacj.editor@gmail.com
rss_feed Acompanhe os números deste periódico no seu leitor de RSS
Ir para o topo