cneira / firecracker-task-driver

nomad task driver that uses firecracker to start micro-vms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting snapshot, pause/restore

odinho opened this issue · comments

Having the ability to snapshot and stop a running service would be great. Firecracker supports this.

https://github.com/firecracker-microvm/firecracker/blob/3388fa94c2ceeb2269a6fc9479b6f2798604c4e7/docs/snapshotting/snapshot-support.md

It will allow massively over-provisioning on RAM, if you run super heavy instances that don't get a lot of traffic. All without writing hard code (just keep all your state in RAM).

Here's how Codesandbox uses it to fork a running VM in under 2 seconds: https://codesandbox.io/blog/how-we-clone-a-running-vm-in-2-seconds.

commented

This new feature looks pretty cool.