Genzer / curiosity

List of my own curiosities
Apache License 2.0
0 stars 0 forks source link

Existing tools for quickly starting a system using checkpoint/restore #10

Open Genzer opened 2 weeks ago

Genzer commented 2 weeks ago

This issue keeps track of what I found on the topic of checkpoint/restore of a running system. The benefits: quickly spawn the systems in the event of failover or scaling up.

Genzer commented 2 weeks ago

TIF: CRIU (Checkpoint/Restore In Userspace)

https://criu.org/Main_Page

Checkpoint/Restore In Userspace, or CRIU (pronounced kree-oo, IPA: /krɪʊ/, Russian: криу), is a Linux software. It can freeze a running container (or an individual application) and checkpoint its state to disk. The data saved can be used to restore the application and run it exactly as it was during the time of the freeze. Using this functionality, application or container live migration, snapshots, remote debugging, and many other things are now possible.

Genzer commented 2 weeks ago

JVM: CRaC

Coordinated Restore at Checkpoint is an OpenJDK feature that provides a fast start and immediate performance for Java applications.

https://github.com/CRaC/docs

Spring Framework integration with CRaC:

https://docs.spring.io/spring-framework/reference/integration/checkpoint-restore.html