Bring the action: using GraalVM in production
summary
GraalVM is a drop-in JDK that offers Native Image ahead‑of‑time compilation, reducing startup from ~1.5s to 52 ms startup in a Spring demo, with native builds taking ~1m27s and resolving 22 reachable types but ~100,000 methods pulled in. Native apps use ~2x–5x less memory, JVM throughput measured 51.7k rps vs native 44k and optimized native 58k rps. Tooling includes Maven/Gradle native plugins, a tracing agent to generate config, and examples like a 22MB Llama3 native binary that starts near instant.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:10What is GraalVM
- 8:50Demo: Spring AI app
- 15:46Benefits of Native Image
- 19:14Using libraries with Native Image
- 28:18Performance comparison
- 37:28Best practices for migration
- 40:43Demo: LLM inference engine
- 45:39Summary and resources
related talks
46mBring the Action: Using GraalVM in Production
44mBring the Action: Using GraalVM in Production
44mJava In The Cloud with GraalVM
31mBring the action: using GraalVM in production
42mJava in the Cloud with GraalVM
46mGraalVM Native Image — Faster, Smarter, Leaner
45mGoing AOT: Everything you need to know about GraalVM for Java applications
53mBootiful GraalVM
