+Rather than only using the snapshots available locally on a node, snapshots can also be transferred between nodes to potentially accelerate cold start times and reduce memory utilization, given that proper mechanisms are in place to minimize the snapshot network transfer latency. This could be done by storing snapshots in a global storage solution such as S3, or directly distributing snapshots between compute nodes. The full local snapshot functionality in vHive can be used to implement such functionality. To implement this, the container image used by the snapshotted microVM must be available on the local node where the remote snapshot will be restored. This container image can be used in combination with the filesystem changes stored in the snapshot patch file to create a device mapper snapshot that contains the root filesystem needed by the restored microVM. After recreating the root filesystem block device, the microVM can be created from the fetched memory file and microVM state similarly to how this is done for the full local snapshots.
0 commit comments