~/talk

Lean Spring Boot Applications for The Cloud

Talkat Heapcon 2023 · 2023-11-02..11-03· [java, cloud-infrastructure]
slides:none on file

Baseline PetClinic measures: 360 MB image, 3.9 s cold start, ~278 MB initial RAM, ≈195 req/s under load. Walks through concrete changes and results: add spring-context-indexer and Spring AOT to cut bean initialization, make beans Lazy Spring Beans to halve startup time, remove actuator and unused deps with DepClean to cut image and startup overhead, switch builders and use JLink to shrink images, and compare JVMs (JDK 21, OpenJ9, GraalVM) with tradeoffs in RAM, startup and throughput.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:16Problem statement and goals
  3. 3:59Baseline setup with Spring PetClinic
  4. 6:59Buildpacks and JVM memory tuning
  5. 8:33Startup time benchmarking tools
  6. 10:02Benchmarking methodology explained
  7. 12:47Java version upgrades impact
  8. 13:27JIT compiler optimization TieredStopAtLevel
  9. 14:13Lazy Spring Beans optimization
  10. 15:27Removing Spring Boot actuators
  11. 15:52Optimizing config file location
  12. 16:37JMX and buildpack defaults
  13. 17:45Dependency cleanup with DepClean
  14. 19:44Spring AOT compilation
  15. 20:55JLink for smaller runtime
  16. 22:03OpenJ9 JVM comparison
  17. 23:43GraalVM as JVM runtime
  18. 24:49Alpine Linux builder optimization
  19. 25:58GraalVM native image benefits
  20. 26:48CRaC checkpoint restart recovery
  21. 27:56Virtual threads in Java 21
  22. 28:44Core count impact on startup
  23. 30:23Future Spring Boot optimizations
  24. 31:54Project Leyden overview
  25. 32:15Summary of optimizations
  26. 33:09Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.