  Cloud, fog, and edge computing integration with future mobile
Internet-of-Things (IoT) devices and related applications in 5G/6G networks
will become more practical in the coming years. Containers became the de facto
virtualization technique that replaced Virtual Memory (VM). Mobile IoT
applications, e.g., intelligent transportation and augmented reality,
incorporating fog-edge, have increased the demand for a millisecond-scale
response and processing time. Edge Computing reduces remote network traffic and
latency. These services must run on edge nodes that are physically close to
devices. However, classical migration techniques may not meet the requirements
of future mission-critical IoT applications. IoT mobile devices have limited
resources for running multiple services, and client-server latency worsens when
fog-edge services must migrate to maintain proximity in light of device
mobility. This study analyzes the performance of the MiGrror migration method
and the pre-copy live migration method when the migration of multiple
VMs/containers is considered. This paper presents mathematical models for the
stated methods and provides migration guidelines and comparisons for services
to be implemented as multiple containers, as in microservice-based
environments. Experiments demonstrate that MiGrror outperforms the pre-copy
technique and, unlike conventional live migrations, can maintain less than 10
milliseconds of downtime and reduce migration time with a minimal bandwidth
overhead. The results show that MiGrror can improve service continuity and
availability for users. Most significant is that the model can use average and
non-average values for different parameters during migration to achieve
improved and more accurate results, while other research typically only uses
average values. This paper shows that using only average parameter values in
migration can lead to inaccurate results.
