Boost Java Application Efficiency and Slash Costs with GraalVM and Spring AOT
summary
GraalVM + Spring AOT delivers faster startup and lower runtime memory than a HotSpot JIT JVM, at the cost of larger binaries and longer builds. Example data: build time ~10 minutes on 2 vCPU/4 GB, now ~2–6 minutes on 8–16 CPU and 16–32 GB, and Spring Boot fat jars remain ~40–60 MB versus trimmed native images. Demonstrated result: native exe Swing app streaming periodic screen snapshots over WebSocket (avoids WebRTC/RTMP) works in production tests and reduces OOM risk.
AI-written summary · about
chapters (7)
- 0:00Introduction and background
- 1:46History of Java and JVM
- 9:23GraalVM features and languages
- 12:15Spring Native and AOT compilation
- 14:07GraalVM for cloud efficiency
- 18:03Demo and application showcase
- 22:28Closing and tribute
related talks
26mGoing Serverless With Spring’s Support for GraalVM, Project CraC & More
41mGoing Serverless With Spring’s Support for GraalVM, Project CraC & More
43mScaling Your Spring Boot App to Zero
17mAdopting Java for the Serverless world
53mScale up with GraalVM and AWS Lambdas
49mThe Java Cloud-Native Stack for Microservices and Serverless Architecture
47mOptimize your Java application for containers and serverless
46mThawing Java on AWS Lambda Reducing Cold Start Times from 11 Seconds to 1
