🤖 AI Summary
Traditional load balancing algorithms struggle to cope with dynamic traffic in cloud environments, resulting in high response latency, frequent congestion, and inflexible scheduling. This paper proposes the first reinforcement learning–based closed-loop load balancing framework, integrating Deep Q-Networks (DQN) into a real-time decision-making loop. It jointly models multi-dimensional metrics—including CPU utilization, response time, and queue length—to construct a dynamic state-action space, enabling online policy updates and proactive intervention under non-equilibrium conditions. Evaluated on a microservice cluster simulation, the approach reduces average response time by 37.2%, improves system availability to 99.99%, and decreases overloaded node incidence by 82%. Its core contribution lies in unifying environment awareness, adaptive scheduling, and predictive intervention—thereby significantly enhancing service quality and system resilience under dynamic workloads.
📝 Abstract
Load Balancing is a fundamental technology for scaling cloud infrastructure. It enables systems to distribute incoming traffic across backend servers using predefined algorithms such as round robin, weighted round robin, least connections, weighted least connections, resource based, weighted response time, source IP hash, and URL hash. This approach has helped software developers, infrastructure engineers, and system administrators address many internet traffic related challenges across modern software architectures ranging from monolithic systems and traditional three tier models to microservices based applications. However, traditional traffic balancing techniques are increasingly becoming inadequate in optimizing distribution times. Existing algorithms are struggling to meet the rising demands of internet traffic, often resulting in degraded user experiences. To proactively address these issues particularly in areas like response time, distribution latency, and system uptime, we need to rethink how load balancing is implemented. Key challenges include traffic management, congestion control, intelligent scheduling, and the ability to determine when and when not to apply load balancing.