What's new with Spring Native on Google Cloud
summary
Spring Native uses GraalVM native-image and ahead‑of‑time compilation to turn Spring apps into native executables, cutting Docker image size and startup time at the cost of longer, memory‑heavy builds (minutes and several GB). Example uses Spring Boot 2.6.4 with Java 11 baseline, builds via Spring Boot Build-Image, pushes artifacts to Artifact Registry and runs on Cloud Run. Runtime works and shows dramatic size and cold‑start improvements, but dynamic class loading requires explicit native hints and extra config.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:08What Is Spring Native
- 1:39Ahead of Time Compilation
- 2:13Compilation
- 8:27Dependencies
- 8:44Native Image Support
related talks
01h 12mThe path towards Spring Boot native applications
35mRunning Spring Boot applications as GraalVM native images
47mGoing Native: Fast and Lightweight Spring Boot Applications with GraalVM
01h 01mFrom Spring Native to Spring Boot 3
49mThe Path Towards Spring Boot Native Applications
40mThe Path Towards Spring Boot Native Applications on GraalVM
46mNative builds with Spring Boot 3
31mSpring Native and Boot 4.0: Where Are We?
