Load Balancing in Compute Clusters With Delayed Feedback

Anam Tahir, Bastian Alt, Amr Rizk, Heinz Koeppl

Abstract

Load balancing arises as a fundamental problem, underlying the dimensioning and operation of many computing and communication systems, such as job routing in data center clusters, multipath communication, Big Data and queueing systems. In essence, the decision-making agent maps each arriving job to one of the possibly heterogeneous servers while aiming at an optimization goal such as load balancing, low average delay or low loss rate. One main difficulty in finding optimal load balancing policies here is that the agent only partially observes the impact of its decisions, e.g., through the delayed acknowledgements of the served jobs. In this paper, we provide a partially observable (PO) model that captures the load balancing decisions in parallel buffered systems under limited information of delayed acknowledgements. We present a simulation model for this PO system to find a load balancing policy in real-time using a scalable Monte Carlo tree search algorithm. We numerically show that the resulting policy outperforms other limited information load balancing strategies such as variants of Join-the-Most-Observations and has comparable performance to full information strategies like: Join-the-Shortest-Queue, Join-the-Shortest-Queue(d) and Shortest-Expected-Delay. Finally, we show that our approach can optimise the real-time parallel processing by using network data provided by Kaggle.

Introduction

In modern compute clusters, efficient load balancing is essential for minimizing latency and preventing job loss. While classical algorithms like Join-the-Shortest-Queue (JSQ) perform optimally under full information, real-world systems often suffer from propagation delays and processing lags. In these environments, a load balancer may only receive delayed acknowledgments ("acks") of completed jobs, creating a Partially Observable (PO) state. This paper introduces POL (Partial Observability Load-Balancer), an algorithm designed to navigate this uncertainty by combining probabilistic belief tracking with look-ahead search.

Schematic of the load balancing system with delayed acknowledgments.

Methodology

System Modeling

The system is modeled as a Partially Observable Markov Decision Process (POMDP). The true state of the server queues is hidden from the controller, which must infer the state based on a stream of delayed feedback. The model accounts for job inter-arrival times, heterogeneous service rates, and a binomial delay model for acknowledgments.

The POL Algorithm

POL addresses the partial observability through two integrated components:

  1. Belief Tracking (Particle Filter): To manage uncertainty, POL maintains a "belief state"—a probability distribution over possible queue lengths. It employs a Sequential Importance Resampling (SIR) particle filter to update this distribution whenever a delayed acknowledgment is received.
  2. Decision Making (MCTS): For job routing, POL utilizes Monte Carlo Tree Search (specifically the POMCP variant). By simulating thousands of potential future trajectories from the current belief state, the algorithm estimates the long-term reward of routing a job to a specific server.

This generative approach allows the balancer to "imagine" the system's evolution even when feedback is missing or stale, effectively overcoming the limitations of simple heuristics.

Experimental Evaluation

The researchers evaluated POL against several baselines, including limited-information strategies like Join-the-Most-Observations (JMO) and full-information (FI) benchmarks like JSQ-FI and Shortest-Expected-Delay (SED-FI). Testing was conducted using both synthetic stochastic environments (Exponential and heavy-tailed Pareto distributions) and real-world network traces from the 2019 Kaggle "Labeled Network Traffic Flow" dataset.

Performance evaluation of POL compared to baseline strategies across cumulative reward, response time distribution, job drop rates, and queue state visualization.

Key Results

  • Performance Parity with Full Information: Remarkably, POL achieves performance nearly identical to full-information strategies like JSQ-FI, effectively filtering out the negative impact of significant network delays.
  • Superiority over Heuristics: POL significantly outperformed JMO variants in both job drop rates and cumulative rewards. In scenarios where 40% of feedback was delayed, POL maintained stability where other limited-info strategies failed.
  • Scalability: The algorithm demonstrated robust performance on clusters with up to 90 servers, suggesting it can handle the complexity of modern data center environments.
  • Real-World Applicability: On Kaggle network traces, POL achieved the lowest job drop rate among limited-information strategies, proving its ability to infer system parameters from raw data.

Conclusion

POL provides a scalable and flexible framework for load balancing under uncertainty. By treating the problem as a POMDP and leveraging MCTS, it bridges the gap between limited-information heuristics and full-information optimality. Future work will focus on reducing the computational overhead of MCTS for high-speed environments and exploring multi-agent coordination in distributed clusters.

Summary updated

BibTeX
@article{tahir2021load,
  author = {Anam Tahir and Bastian Alt and Amr Rizk and Heinz Koeppl},
  title = {{Load Balancing in Compute Clusters With Delayed Feedback}},
  journal = {IEEE Trans. Computers},
  year = {2021},
}
Figure