An optimized approach for container deployment driven by a two-stage load balancing mechanism
Lightweight container technology has emerged as a fundamental component of cloud-native computing, with the deployment of containers and the balancing of loads on virtual machines representing significant challenges. This paper presents an optimization strategy for container deployment that consists of two stages: coarse-grained and fine-grained load balancing. In the initial stage, a greedy algorithm is employed for coarse-grained deployment, facilitating the distribution of container services across virtual machines in a balanced manner based on resource requests. The subsequent stage utilizes a genetic algorithm for fine-grained resource allocation, ensuring an equitable distribution of resources to each container service on a single virtual machine. This two-stage optimization enhances load balancing and resource utilization throughout the system. Empirical results indicate that this approach is more efficient and adaptable in comparison to the Grey Wolf Optimization (GWO) Algorithm, the Simulated Annealing (SA) Algorithm, and the GWO-SA Algorithm, significantly improving both resource utilization and load balancing performance on virtual machines.
Authors
- Qifeng Zou (ORCID: https://orcid.org/0009-0003-4809-0391)
- Chaoze Lu (ORCID: https://orcid.org/0000-0002-5134-196X)
- Jiayi Zhou (ORCID: https://orcid.org/0000-0001-9265-5933)
Institutions
- Ningbo University (CN)
- Ningbo University of Technology (CN)
Publication Details
- Journal
- PLoS ONE
- Published
- 2025-01-10
- DOI
- https://doi.org/10.1371/journal.pone.0317039
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Ningbo University
- Ningbo University of Technology
- Natural Science Foundation of Ningbo
- Natural Science Foundation of Zhejiang Province