~/talk

Lean Spring Boot Applications for the Cloud

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java, cloud-infrastructure]
slides:none on file

Baseline Spring PetClinic on Java 17 starts ~5s, uses ~260MB RAM and serves ~800 RPS; upgrading to Java 21/23, enabling Spring AOT and class-data sharing (application.jsa) drops startup to ~3.5s but increases build time and image size. Using buildpacks, jlink and BellSoft/Alpine builders shrinks images; OpenJ9 reduces memory; GraalVM native images increase build time and image size but can raise throughput. Enabling virtual threads boosts throughput ~7–8x and improves latency; depclean cuts unused dependencies; actuators add 176 extra beans.

AI-written summary · about

  1. 0:00Introduction and challenges
  2. 1:37Agenda and project setup
  3. 4:05Using buildpacks
  4. 7:10Benefits of buildpacks
  5. 9:49JDK benchmarking
  6. 14:59JVM optimizations
  7. 18:14Spring Boot configurations
  8. 22:06AOT processing
  9. 26:03Dependency management
  10. 29:42JLink and modularity
  11. 32:25Class data sharing
  12. 35:02Alternative runtimes
  13. 37:07GraalVM and optimization
  14. 39:13Builder and OS options
  15. 41:17Native images
  16. 43:07CRAC and checkpointing
  17. 45:49Virtual threads
  18. 47:59Conclusion and summary
~/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.