Fast and Lightweight Spring Boot Applications with GraalVM
summary
Spring Boot 3.0 apps compile to GraalVM native executables using the native Maven/Gradle plugins and a community reachability repo; a demo shows a simple app building in 44s into a 46 MB executable that starts in 47 ms versus ~1.1s on the JVM and uses ~69 MB RSS. Spring AI demo is 111 MB native and works without extra config. Throughput is on par with JVM (≈50k req/s) and remains ≈50k req/s on half the JVM memory. Use JVM for dev, build native in CI, use tracing agent or contributed configs for reflective libs.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:23GraalVM
- 3:38Milestones
- 5:07Native Image
- 7:38Why use Native Image
- 10:27Lets build our first app
- 15:46Adding libraries and dependencies
- 21:56Using libraries with GraalVM
- 28:34Performance
- 31:55Tips Tricks
- 33:56Security
- 37:32Performance demo
- 42:12Future projects
related talks
47mGoing Native: Fast and Lightweight Spring Boot Applications with GraalVM
31mBring the action: using GraalVM in production
51mMigrating Spring Boot apps to GraalVM
44mNative Spring Applications with GraalVM
46mNative builds with Spring Boot 3
53mBootiful GraalVM
46mBring the Action: Using GraalVM in Production
44mBring the Action: Using GraalVM in Production
