~/talk

How to Reduce the Footprint of Your Spring Boot Applications

Talkat JCON EUROPE 2024 · 2024-05-13..05-16· [spring, web-performance]
slides:none on file

Upgrading Java 8→17 cuts PetClinic homepage response from ~21s to <17s with no code changes; switching to Java 21 + Spring Boot 3.2/3.25 plus tuning lets fewer instances handle the same load. Enabling Spring AOT and class data sharing roughly halves startup time; CRaC produces tens-of-milliseconds cold starts by snapshotting a warmed JVM; GraalVM native images deliver millisecond startup, no warmup and much smaller memory under load but lose some dynamic/runtime features and need build-time work.

AI-written summary · about

  1. 0:00Introduction to sustainability
  2. 1:23Foundation for optimization
  3. 4:26Modern tooling enhancements
  4. 6:07Strategies for footprint
  5. 11:03Optimizing startup time
  6. 21:53Project CRaC overview
  7. 23:59GraalVM native images
  8. 27:03Measuring and tradeoffs
  9. 34:44Conclusion and Q&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.