A two-stage container management in the cloud for optimizing the load balancing and migration cost

Weiwen Zhang,Lei Chen,Jinzhou Luo,Jianqi Liu
DOI: https://doi.org/10.1016/j.future.2022.05.002
IF: 7.307
2022-10-01
Future Generation Computer Systems
Abstract:Container technology is driving the transformation of Container as a Service (CaaS), which calls for an optimal solution of container management. In this paper, we present a two-stage framework of container management in the cloud, which includes container placement and container migration. Specifically, we investigate the container placement strategy of cloud servers for load balancing in a long time scale. In a short time scale, we investigate the container migration strategy among the cloud servers for minimizing the migration cost while maintaining the degree of load balance. Both of the strategies are formulated as constrained optimization problems. We propose Balance Aware Container Placement (BACP) algorithm and Adaptive Threshold Container Migration (ATCM) algorithm to solve the optimization problems in different time scales. Furthermore, workload prediction of the containers is proposed to enhance the solution. We show by experiments that we can achieve the load balance while reducing the migration cost. Moreover, the proposed algorithm outperforms the meta-heuristic algorithms, i.e., PSO (Particle Swarm Optimization) and CRO (Coral Reef Optimization).
What problem does this paper attempt to address?