Skip to main navigation Skip to search Skip to main content

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

  • Hajie Xi
  • , Song Hu
  • , He Zhang
  • , Shuang Zhang*
  • , Jingnong Weng
  • , Jian Huang*
  • *Corresponding author for this work
  • Beihang University
  • Ministry of Transport of the People's Republic of China
  • Transportation Comprehensive Enforcement Corps

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publication2024 6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages239-243
Number of pages5
ISBN (Electronic)9798331541798
DOIs
StatePublished - 2024
Event6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024 - Hangzhou, China
Duration: 1 Nov 20243 Nov 2024

Publication series

Name2024 6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024

Conference

Conference6th International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2024
Country/TerritoryChina
CityHangzhou
Period1/11/243/11/24

Keywords

  • Docker Registry
  • Nginx
  • load balancing
  • stable pushing of Docker images

Fingerprint

Dive into the research topics of 'A Dynamic Load Balancing Algorithm for Stable Pushing of Docker Images in Nginx'. Together they form a unique fingerprint.

Cite this