A Dynamic Load Balancing Algorithm for Stable Pushing of Docker Images in Nginx

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.

Authors

Institutions

Publication Details

Published
2024-11-01
DOI
https://doi.org/10.1109/mlbdbi63974.2024.10823883
Citations
1
Primary Topic
Optical Systems and Laser Technology
Type
article
Field-Weighted Citation Impact
0.21
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Dynamic Load Balancing Algorithm for Stable Pushing of Docker Images in Nginx

Song Hu, H. Z. Xi, Jingnong Weng, Shuang Zhang et al.
1 citations
Optical Systems and Laser Technology
0.21
article

A Dynamic Load Balancing Algorithm for Stable Pushing of Docker Images in Nginx

Song Hu, H. Z. Xi, Jingnong Weng, Shuang Zhang, He Zhang, Jian Huang
article en
1 citations

Abstract

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.

Beijing Transportation Research Center (CN), Ministry of Transport (CN), Research Institute of Highway (CN), Beihang University (CN)
Openalex Percentile: Top 44%
Optical Systems and Laser Technology
0.21
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Dynamic Load Balancing Algorithm for Stable Pushing of Docker Images in Nginx — Song Hu, H. Z. Xi, et al. · (2024) | TGRS Research Map | TGRS