Java & JVMJava & JVM
Conference50min
ADVANCED

CRaCing Java Snapshots

This talk explores CRaC, a JVM-specific checkpoint/restore approach for near-instant Java startup without native images. It covers CRIU’s limitations, how CRaC works in Java and Spring, and what it enables, along with its benefits, constraints, and implementation costs.

talk.summaryAiDisclaimer

Pasha Finkelshteyn
Pasha FinkelshteynBellsoft

talkDetail.whenAndWhere

Thursday, June 18, 13:25-14:15
Room 4A
talks.description
Imagine your Java application starting up in just 5 milliseconds. Sounds incredible, right? Almost too good to be true? And no, this isn’t about native images. There's an innovative solution called Coordinated Restore at Checkpoint (CRaC).

Initially, this concept emerged from the Linux CRIU project: Checkpoint/Restore In Userspace. However, CRIU doesn't always deliver reliable results. That’s where CRaC comes in, offering a JVM-specific implementation.

In this talk, we’ll look into the complexities of CRIU and after that, we will turn to CRaC. We will discuss how CRaC operates within the Java ecosystem, its integration with Spring, and how you can use it in your own applications for near-instant startup times.

From this talk you will learn what is possible to CRaC and what is not, what are the benefits and limitations, and what is the cost of CRaC-ing.
crac
spring
java
startup
talks.speakers
Pasha Finkelshteyn

Pasha Finkelshteyn

Bellsoft

Germany

Years of experience in software engineering and the team's leading roles combined with his passion for Java made Pasha know all the hidden details in this IT niche. As a Developer Advocate for @Bellsoft, he educates the public on the latest software tools built by BellSoft and helps to create and test instruments for developers. He writes in Kotlin, speaks at conferences, composes a new articles, or maintains his pet projects.