GeeCON 2022: Gerrit Grunwald - What the CRaC - Lightning fast JVM startup

youtube.com 1 rok temu


In a planet where microservices are more and more a standard architecture for Java based applications moving in the cloud, the JVM warmup time can become a limitation. Especially erstwhile you look at spinning up fresh instances of an app as consequence to changes in load, the warmup time can be a problem. Native images are 1 solution to solve these problems due to the fact that their statically ahead of time compiled code simply doesn’t gotta warmup and so has short startup time. But even with the shorter startup time and smaller footprint it doesn’t come without a drawback. The overall performance might be slower due to the missing JIT optimizations at runtime. There is simply a fresh OpenJDK task called CRaC (Coordinated reconstruct at Checkpoint) which goal it is to address the JVM warmup problem with a different approach. The thought is to take a snapshot of the moving JVM, store it in files and reconstruct the JVM at a later point in time (or even on another machine). This session will give you a short overview of the CRaC task and shows any results from a proof of concept implementation