The Path Towards Spring Boot Native Applications
summary
Spring GraalVM Native (spring-native 0.8) compiles Spring Boot 2.4 M2 apps with GraalVM 20.2 into native executables via buildpacks or native-image, producing lightweight containers (≈18MB base + 42–47MB exe) that start in ~150–220ms and cut RSS memory by ~3x–5x (example: PetClinic JDBC runs ~200ms). Builds take minutes (typical 3–4 min, versus seconds on JVM), so run in CI. Tooling includes the tracing agent, modular native-image hints, and experimental functional bean registration that halves memory in some samples.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:10Native applications with GraalVM
- 7:09Spring Boot native applications
- 10:17Current project status
- 21:04Getting started with GraalVM native
- 25:13Demo: Pet Clinic sample
- 29:25Performance metrics comparison
- 36:44Contributing to Spring GraalVM Native
- 41:20Future roadmap
- 46:35Key takeaways and summary
- 48:21Q&A session
related talks
51mMigrating Spring Boot apps to GraalVM
12mWhat's new with Spring Native on Google Cloud
24mHands-On Cloud Mastery: Deploying Spring Native Apps with GraalVM (Workshop)
49mBuilding Lean Spring Boot Applications for the Cloud
29mGraalVM in a Nutshell
52mLean Spring Boot Applications for the Cloud
53mThe Next Evolution of Java: ☕️ Achieving Hyper Performance and Efficiency in Cloud Native Workloads
01h 03mSpring Meets GemFire Meets Native: Take Your Spring Apps to the Next Level
