~/talk

Step up the performance game with Spring Boot and Project Leyden

Talkat Spring I/O 2025 · 2025-05-22..05-23· [java]
slides:none on file

Fat uber‑jar Spring Boot apps start around 3–5s on a stock JVM; unpacking and using CDS cuts that to roughly 1.5–1.8s and shrinks RSS from ~392MB to ~317MB (~19%); JDK 24’s AOT cache further trims startup to ~1.37s and pairing with Spring AOT reaches ~2.2s in another measurement; Project Leyden’s profiling+code compilation (training run required) produces subsecond startups and up to ~4x speedups. Prerequisites: identical JVM, flat classpath, preserved timestamps, and a training run using spring.context.exit=onRefresh and self-extract jar.

AI-written summary · about

  1. 0:00Performance optimization with Spring Boot
  2. 0:45Runtime efficiency costs
  3. 2:12CDS AOT cache and Project Leyden
  4. 5:26Class Data Sharing setup
  5. 7:10CDS training and deployment demo
  6. 9:59CDS startup and memory benchmark
  7. 13:08Spring AOT optimizations
  8. 17:05CDS in Cloud Native Build Packs
  9. 19:39AOT cache vs CDS
  10. 21:52JVM AOT cache demo
  11. 25:48Leyden profiling and compilation
  12. 28:40Leyden load-based training demo
  13. 34:06Project Leyden performance gains
  14. 35:52CRaC vs AOT cache comparison
  15. 41:30Trade-offs and approach selection
  16. 43:13Q&A
~/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.