~/talk

Going Native: Fast and Lightweight Spring Boot Applications with GraalVM

Talkat Spring I/O 2023 · 2023-05-18..05-19· [java, web-performance]
slides:none on file

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

  1. 0:00GraalVM and Native Image intro
  2. 9:54Spring Pet Clinic: JVM vs Native
  3. 12:46Simple app performance demo
  4. 15:20JVM vs Native resources
  5. 18:29Throughput benchmark
  6. 21:42Optimizing Native Image
  7. 27:04Security benefits
  8. 29:09Compact packaging
  9. 30:33Limitations of GraalVM
  10. 37:14Build process & cross-platform
  11. 40:45Spring Boot Native evolution
  12. 42:09Native Image config
  13. 43:13Native build tools & testing
  14. 44:56Future of GraalVM
  15. 46:43Getting started with GraalVM
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.