Bring the Action: Using GraalVM in Production
summary
GraalVM’s native-image compiles Spring apps into executables that start in milliseconds (example: 2.5s JVM → 147ms native) while build times sit around a minute with quick-build, and memory drops to ~140MB in demos. Benchmarks show JVM ~1.5k req/s, native out‑of‑box ~1.1k and native optimized ~1.7k using PGO/-3 and G1GC. Tooling includes native-image Maven/Gradle plugins, tracing agent, reachability repo, SBOM export, perf, Micrometer and GitHub Actions; a local LLM Java single‑file demo compiles to native and runs offline.
AI-written summary · about
chapters (15)
- 0:00Introduction and setup
- 1:49GraalVM Java options overview
- 7:06Native Image basics and demo
- 18:42Using libraries with Native Image
- 30:41Performance optimizations
- 46:22Break and Q&A
- 46:44Container deployment options
- 50:55Native Image drawbacks and tradeoffs
- 57:54Security features and ASBOM
- 1:01:40Monitoring and observability
- 1:19:33Build reports and advanced tooling
- 1:23:01Linux tooling with Perf
- 1:29:08Forward-looking projects
- 1:34:02Native Image layers and KMA
- 1:46:12Getting started and wrap-up
