Backend & Integration tech.Conference50min
CRaCing Java Snapshots
This talk introduces Coordinated Restore at Checkpoint (CRaC), a JVM-specific technology enabling near-instant Java startup times. It explains CRaC’s origins in the Linux CRIU project, its integration with Spring, practical usage, and the trade-offs, benefits, and limitations of adopting CRaC for ultra-fast application initialization.
talk.summaryAiDisclaimer
Pasha FinkelshteinBellSoft
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.
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.
Pasha Finkelshtein
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.