Closed shubham95 closed 4 years ago
The streamer can do live migrations, but doesn't need to.
Think that the streamer is just an extension to make CRIU think that the image is not a bunch of files on disk, but rather a UNIX pipe. With that in mind, you can think of being able to do conceptually:
1) criu dump | lz4 > image.lz4
then cat image.lz4 | lz4 -d | criu restore
2) criu dump | ssh | criu restore
The CRIU page server is specifically solving the problem of live migration with keeping the downtime of the application minimal. The streamer does not care how long the application is going to be down for. Rather, it tries to do the checkpoint as fast as it can in one go.
@nviennot How its optimizes checkpoint time?
how it works Like dump and restore starts parallel and files are transferred on the fly