Low-Latency Layer-Aware Proactive and Passive Container Migration in Meta Computing

Mengjie Liu, Yihua Li, Fangyi Mou, Zhiqing Tang, Jiong Lou, Jianxiong Guo, Weijia Jia · DOI

Introduction

Meta Computing represents a paradigm shift in distributed systems, virtualizing network resources into a seamless "meta computer." In this environment, Mobile Edge Computing (MEC) is essential for providing low-latency services to mobile users. However, the fragmentation of edge nodes—often referred to as "computing power islands"—presents significant challenges for efficient resource sharing and service continuity.

Problem Statement: The Migration Challenge

Service management in Meta Computing is complicated by two primary factors that necessitate container migration:

  1. Passive Migration: Triggered by user mobility as they move beyond the communication range of their current edge node.
  2. Proactive Migration: Triggered by resource constraints (CPU or memory) on an edge node to prevent service degradation before it occurs.

Traditional migration methods often treat container images as monolithic entities. This approach ignores the fact that images are composed of discrete layers, many of which may already exist on a potential target node. Neglecting this granularity leads to redundant data transfers and increased startup latency. The challenge lies in making joint migration decisions that account for these complex, sparse layer-sharing patterns in a dynamic environment.

System model illustrating layer-aware container migration between edge nodes and the cloud.

Methodology: The PPCM Algorithm

The authors propose the Proactive and Passive Container Migration (PPCM) algorithm, a Deep Reinforcement Learning (DRL) approach designed to minimize total latency by optimizing both migration types simultaneously.

Layer-Aware Cost Model

PPCM utilizes a comprehensive delay model accounting for four distinct factors: migration delay, computation delay, deployment delay (including layer download times), and backhaul delay. By prioritizing target nodes that already host required image layers, the algorithm significantly reduces deployment time.

DRL Architecture and Training

The core of PPCM is a Proximal Policy Optimization (PPO) engine enhanced with several advanced architectural features:

  • Deep & Cross Network (DCN): Integrated into the policy network to handle high-dimensional, sparse data related to container layers. It learns complex feature interactions and non-linear relationships without manual feature engineering.
  • Multi-Head Attention: Utilized in the value network to better assess the importance of different state features (node and task states) when estimating rewards.
  • Expert Demonstrations: To overcome the "cold start" problem in massive search spaces, training is "warm-started" using demonstrations from baseline algorithms, significantly accelerating convergence.
The PPCM algorithm architecture, highlighting the DCN-based Actor and the Attention-based Critic.

Experimental Evaluation

The PPCM algorithm was evaluated using real-world taxi trajectories from Rome, Italy, and a simulated 5G meta-computing environment. The setup included up to 36 edge nodes with varying upload rates (12–60 Mbps) and diverse service sizes (0.5–100 MB).

Key Results

PPCM demonstrated superior performance against standard baselines, including Kubernetes-style scheduling (KUBE), Genetic Algorithms (GA), and Differential Evolution (DE):

  • Latency Reduction: PPCM achieved an average 18% reduction in total latency across various network scales compared to baseline algorithms.
  • Scalability: In scenarios with an increasing number of tasks, PPCM maintained a 7% performance lead over the best-performing heuristic methods.
  • Convergence: The use of expert demonstrations allowed for rapid stabilization of policy and value function losses, proving the approach's viability for complex edge environments.

Conclusion

By treating proactive and passive migration as a unified, layer-aware decision problem, PPCM effectively addresses the inefficiencies of traditional container management in Meta Computing. Future research will focus on integrating auto-scaling mechanisms to further optimize resource efficiency in dynamic, real-time edge environments.

Summary updated

BibTeX
@misc{liu2024low,
  author = {Mengjie Liu and Yihua Li and Fangyi Mou and Zhiqing Tang and Jiong Lou and Jianxiong Guo and Weijia Jia},
  title = {{Low-Latency Layer-Aware Proactive and Passive Container Migration in Meta Computing}},
  year = {2024},
  eprint = {2406.13404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13404},
}
Figure