Going Native: Fast and Lightweight Spring Boot Applications with GraalVM
summary
Spring Boot 3.0 ships GA support for GraalVM Native Image and converts Spring apps into standalone native executables that start and scale smaller. Demos compile with GraalVM 22.3, run Spring PetClinic and a demo app that persists to a DB, and show 0.3s startup versus 1.5s on the JVM, much lower memory, and throughput numbers: JVM ~80k RPS, plain native ~67k RPS, profile‑guided native 81k RPS, constrained memory ~74k RPS. Uses native-image, tracing agent, Maven/Gradle plugins, UPX and GitHub Actions; it works with caveats around reflection and build-time config.
AI-written summary · about
chapters (15)
- 0:00GraalVM and Native Image intro
- 9:54Spring Pet Clinic: JVM vs Native
- 12:46Simple app performance demo
- 15:20JVM vs Native resources
- 18:29Throughput benchmark
- 21:42Optimizing Native Image
- 27:04Security benefits
- 29:09Compact packaging
- 30:33Limitations of GraalVM
- 37:14Build process & cross-platform
- 40:45Spring Boot Native evolution
- 42:09Native Image config
- 43:13Native build tools & testing
- 44:56Future of GraalVM
- 46:43Getting started with GraalVM
related talks
46mFast and Lightweight Spring Boot Applications with GraalVM
35mRunning Spring Boot applications as GraalVM native images
40mThe Path Towards Spring Boot Native Applications on GraalVM
51mMigrating Spring Boot apps to GraalVM
53mBootiful GraalVM
44mNative Spring Applications with GraalVM
01h 12mThe path towards Spring Boot native applications
46mNative builds with Spring Boot 3
