Efficient Container Assignment and Layer Sequencing in Edge Computing

Jiong Lou,Hao Luo,Zhiqing Tang,Weijia Jia,Wei Zhao
DOI: https://doi.org/10.1109/tsc.2022.3159728
IF: 11.019
2022-01-01
IEEE Transactions on Services Computing
Abstract:Containers are becoming a popular way of running applications in edge computing. Before running the application, the edge node must download the application’s container image consisting of multiple layers. However, given the limited bandwidth in edge computing, the container startup latency due to long image download time seriously affects the real-time performance. In this article, we jointly determine the container assignment and the layer download sequence to reduce the total startup latency. We formulate the Container Assignment and Layer Sequencing (CALS) problem and prove its NP-hardness. A Layer-Aware Scheduling Algorithm (LASA) is proposed, fully considering layer sharing among images. First, layers shared by the same set of images are grouped to reduce CALS’s problem scale without affecting the optimal result. Second, considering both layer sharing and existing layer size on edge nodes, a layer-aware algorithm is designed to assign containers to appropriate edge nodes. Finally, to determine the layer download sequence on each edge node, an approximation algorithm is proposed. We further analyze the approximation ratio of LASA in the case of identical edge nodes with sufficient capacity. Extensive experiments based on real-world data show the effectiveness of LASA, which reduces the total startup latency by 40% to 60%.
computer science, information systems, software engineering
What problem does this paper attempt to address?