TY - GEN
T1 - A Dynamic Load Balancing Algorithm for Stable Pushing of Docker Images in Nginx
AU - Xi, Hajie
AU - Hu, Song
AU - Zhang, He
AU - Zhang, Shuang
AU - Weng, Jingnong
AU - Huang, Jian
N1 - Publisher Copyright:
© 2024 IEEE.
PY - 2024
Y1 - 2024
N2 - With the rapid development of artificial intelligence, a wide variety of deep learning models have emerged across various fields. Nevertheless, the quality of these models varies significantly, making the effective evaluation of model performance a pressing issue. In some open data competitions, remote evaluation based on Docker images has increasingly become a novel and reliable approach, providing a consistent environment to ensure the fairness of model evaluations. However, it imposes high demands on hardware resources, typically requiring dedicated resources for each participant to serve as Docker Registries for the pushing and management of Docker images. In this paper, we extend the load balancing module of the Nginx server by integrating Lua scripts and propose a Cache-based Dynamic Smooth Weighted Round-robin (CDSWRR) algorithm to optimize the pushing process of Docker images. By constructing a unified load balancing entry, the proposed approach simplifies the deployment of Docker Registry clusters. Experiments show that compared to weighted round-robin and IP hash algorithms of Nginx, the CDSWRR algorithm is able to ensure stable pushing of Docker images and reduce both response error rate and response time.
AB - With the rapid development of artificial intelligence, a wide variety of deep learning models have emerged across various fields. Nevertheless, the quality of these models varies significantly, making the effective evaluation of model performance a pressing issue. In some open data competitions, remote evaluation based on Docker images has increasingly become a novel and reliable approach, providing a consistent environment to ensure the fairness of model evaluations. However, it imposes high demands on hardware resources, typically requiring dedicated resources for each participant to serve as Docker Registries for the pushing and management of Docker images. In this paper, we extend the load balancing module of the Nginx server by integrating Lua scripts and propose a Cache-based Dynamic Smooth Weighted Round-robin (CDSWRR) algorithm to optimize the pushing process of Docker images. By constructing a unified load balancing entry, the proposed approach simplifies the deployment of Docker Registry clusters. Experiments show that compared to weighted round-robin and IP hash algorithms of Nginx, the CDSWRR algorithm is able to ensure stable pushing of Docker images and reduce both response error rate and response time.
KW - Docker Registry
KW - Nginx
KW - load balancing
KW - stable pushing of Docker images
UR - https://www.scopus.com/pages/publications/85216924474
U2 - 10.1109/MLBDBI63974.2024.10823883
DO - 10.1109/MLBDBI63974.2024.10823883
M3 - 会议稿件
AN - SCOPUS:85216924474
T3 - 2024 6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024
SP - 239
EP - 243
BT - 2024 6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024
Y2 - 1 November 2024 through 3 November 2024
ER -