Skip to content
@CRaC

CRaC

Coordinated Restore at Checkpoint

Coordinated Restore at Checkpoint (CRaC)

The CRaC (Coordinated Restore at Checkpoint) Project researches the coordination of Java programs with mechanisms to checkpoint (make an image of, snapshot) a Java instance while executing. Restoring from the image could solve some of the problems with the start-up and warm-up times. The primary aim of the Project is to develop a new standard mechanism-agnostic API to notify Java programs about the checkpoint and restore events. Other research activities will include, but will not be limited to, integration with existing checkpoint/restore mechanisms and development of new ones, changes to JVM and JDK to make images smaller and ensure they are correct.

Read More About CRaC

Using CRaC in your Application

Use the CRaC library in your project to handle checkpoint creation and restore from a checkpoint.

packagemy.app; importorg.crac.Context; importorg.crac.Core; importorg.crac.Resource; publicclassMyClassimplementsResource{publicMyClass(){Core.getGlobalContext().register(this)} @OverridepublicvoidbeforeCheckpoint(Context<? extendsResource> context){/* ... */ } @OverridepublicvoidafterRestore(Context<? extendsResource> context){/* ... */ } }

Example Implementation Repositories

Popular repositories Loading

  1. docs docsPublic

    Roff 246 11

  2. org.crac org.cracPublic

    Java 49 7

  3. example-spring-boot example-spring-bootPublic

    Java 38 17

  4. openjdk-builds openjdk-buildsPublic

    Java 35 2

  5. criu criuPublic

    C 33 11

  6. example-lambda example-lambdaPublic

    Java 16 4

Repositories

Showing 10 of 29 repositories

Top languages

Loading…

Most used topics

Loading…