Advanced search
2 files | 3.70 MB Add to list
Author
Organization
Project
Abstract
With the advent of container technology, companies have been developing microservice-based applications, converting the old monolithic software into a group of loosely coupled containers, with the aim of offering greater flexibility and improving operational efficiency. When users access microservices, their initial point of contact is typically a load balancer. This component is responsible for distributing incoming traffic or requests between multiple instances of microservices. Traditional load balancing approaches mainly rely on round-robin, or weighted roundrobin algorithms which are inadequate to maintain the overall performance and scalability of microservice-based applications. Microservices are often deployed in dynamic environments needing a more adaptive and efficient load balancing strategy to optimize resources and reduce the overall latency for end users. This paper presents a dynamic load balancer for Kubernetes (K8s) clusters based on Reinforcement Learning (RL). It aims to minimize the overall latency while promoting fair distribution of requests. To achieve this goal, the load balancer considers both current network delays and processing loads in the cluster. The evaluation shows that our solution is effective even in environments where both the network traffic and the processing loads in the cluster change dynamically over time. In addition, this study highlights the flexibility of DeepSets neural networks in solving the load balancing challenge in diverse setups without retraining. The results show that the DeepSets algorithms can solve the microservice load balancing problem even in scenarios up to 30 times larger than the trained setup.
Keywords
Load Balancing, Reinforcement Learning, Microservices, Kubernetes, Containers

Downloads

  • 8600 acc.pdf
    • full text (Accepted manuscript)
    • |
    • open access
    • |
    • PDF
    • |
    • 1.11 MB
  • (...).pdf
    • full text (Published version)
    • |
    • UGent only
    • |
    • PDF
    • |
    • 2.58 MB

Citation

Please use this url to cite or link to this publication:

MLA
Pereira dos Santos, José Pedro, et al. “Towards Optimal Load Balancing in Multi-Zone Kubernetes Clusters via Reinforcement Learning.” 2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024, IEEE, 2024, doi:10.1109/ICCCN61486.2024.10637606.
APA
Pereira dos Santos, J. P., Wauters, T., De Turck, F., & Steenkiste, P. (2024). Towards optimal load balancing in multi-zone Kubernetes clusters via reinforcement learning. 2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024. Presented at the 33rd International Conference on Computer Communications and Networks (ICCCN 2024), Kailua-Kona, Big Island Hawaii, USA. https://doi.org/10.1109/ICCCN61486.2024.10637606
Chicago author-date
Pereira dos Santos, José Pedro, Tim Wauters, Filip De Turck, and Peter Steenkiste. 2024. “Towards Optimal Load Balancing in Multi-Zone Kubernetes Clusters via Reinforcement Learning.” In 2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024. IEEE. https://doi.org/10.1109/ICCCN61486.2024.10637606.
Chicago author-date (all authors)
Pereira dos Santos, José Pedro, Tim Wauters, Filip De Turck, and Peter Steenkiste. 2024. “Towards Optimal Load Balancing in Multi-Zone Kubernetes Clusters via Reinforcement Learning.” In 2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024. IEEE. doi:10.1109/ICCCN61486.2024.10637606.
Vancouver
1.
Pereira dos Santos JP, Wauters T, De Turck F, Steenkiste P. Towards optimal load balancing in multi-zone Kubernetes clusters via reinforcement learning. In: 2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024. IEEE; 2024.
IEEE
[1]
J. P. Pereira dos Santos, T. Wauters, F. De Turck, and P. Steenkiste, “Towards optimal load balancing in multi-zone Kubernetes clusters via reinforcement learning,” in 2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024, Kailua-Kona, Big Island Hawaii, USA, 2024.
@inproceedings{01J4KCJKRS1S17CBNNJG0383KJ,
  abstract     = {{With the advent of container technology, companies have been developing microservice-based applications, converting the old monolithic software into a group of loosely coupled containers, with the aim of offering greater flexibility and improving operational efficiency. When users access microservices, their initial point of contact is typically a load balancer. This component is responsible for distributing incoming traffic or requests between multiple instances of microservices. Traditional load balancing approaches mainly rely on round-robin, or weighted roundrobin algorithms which are inadequate to maintain the overall performance and scalability of microservice-based applications. Microservices are often deployed in dynamic environments needing a more adaptive and efficient load balancing strategy to optimize resources and reduce the overall latency for end users. This paper presents a dynamic load balancer for Kubernetes (K8s) clusters based on Reinforcement Learning (RL). It aims to minimize the overall latency while promoting fair distribution of requests. To achieve this goal, the load balancer considers both current network delays and processing loads in the cluster. The evaluation shows that our solution is effective even in environments where both the network traffic and the processing loads in the cluster change dynamically over time. In addition, this study highlights the flexibility of DeepSets neural networks in solving the load balancing challenge in diverse setups without retraining. The results show that the DeepSets algorithms can solve the microservice load balancing problem even in scenarios up to 30 times larger than the trained setup.}},
  author       = {{Pereira dos Santos, José Pedro and Wauters, Tim and De Turck, Filip and Steenkiste, Peter}},
  booktitle    = {{2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024}},
  isbn         = {{9798350348439}},
  issn         = {{1095-2055}},
  keywords     = {{Load Balancing,Reinforcement Learning,Microservices,Kubernetes,Containers}},
  language     = {{eng}},
  location     = {{Kailua-Kona, Big Island Hawaii, USA}},
  pages        = {{9}},
  publisher    = {{IEEE}},
  title        = {{Towards optimal load balancing in multi-zone Kubernetes clusters via reinforcement learning}},
  url          = {{http://doi.org/10.1109/ICCCN61486.2024.10637606}},
  year         = {{2024}},
}

Altmetric
View in Altmetric
Web of Science
Times cited: