Open Genzer opened 2 weeks ago
TIF: CRIU (Checkpoint/Restore In Userspace)
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.
JVM: CRaC
Coordinated Restore at Checkpoint is an OpenJDK feature that provides a fast start and immediate performance for Java applications.
Spring Framework integration with CRaC:
https://docs.spring.io/spring-framework/reference/integration/checkpoint-restore.html
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.