~/talk

Lean Spring Boot Applications for The Cloud

Talkat JNation 2024 · 2024-06-04..06-05· [spring, web-performance]
slides:none on file

Benchmarks use the Spring PetClinic (H2) built with Buildpacks; baseline measures a 4.3s startup, 359MB image and ~302MB initial RAM. Applying Spring AOT, appCDS (Buildpacks-enabled CDS training run), lazy beans, removal of Actuator and unused starters via depclean Maven plugin, plus jlink or alternate JVMs (OpenJ9, GraalVM) halves startup, reduces image size roughly 50% and cuts memory ~30% while keeping throughput comparable; virtual threads improve latency on very small CPU quotas.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:23Why optimize Spring Boot apps
  3. 3:11Cloud challenges for Spring Boot
  4. 5:20Pet Clinic setup and baseline
  5. 9:13Build packs for containerization
  6. 13:05Startup time analysis tools
  7. 14:07Benchmarking methodology
  8. 16:17Java version upgrades impact
  9. 18:02Java optimizations with build packs
  10. 22:00Spring Boot optimizations
  11. 26:59Ahead-of-time compilation
  12. 30:51Application-level optimizations
  13. 35:06Customizing the JVM runtime
  14. 37:57AppCDS for faster startup
  15. 40:24Alternative JVM runtimes
  16. 43:14Alpine-based builders
  17. 44:20GraalVM native images
  18. 46:31Virtual threads benefits
  19. 47:16Summary of optimizations
  20. 50:28Q&A and closing
~/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.