~/talk

Efficient Containers with Spring Boot 3, Java 21 and CDS

Talkat SpringOne 2024 · 2024-08-26..08-28· [java, cloud-infrastructure]
slides:none on file

Migrates a Spring Boot 2.7 / Java 8 PetClinic to Spring Boot 3 / Java 21 and shows concrete knobs: enable Virtual Threads, CDS plus Spring AOT, and use a self-extracting executable jar layout or Buildpacks that automatically perform the CDS training run. Demo builds with Maven/boot build-image and produces a container that boots in about 1s: measured 42% startup reduction overall and up to ~70% when replacing old webjars scanning; memory and warmup also improve and the demo artifacts run successfully.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 0:42Why runtime efficiency matters
  3. 3:54Spring Boot 3 efficiency features
  4. 7:45Native vs CRA vs CDS comparison
  5. 11:20Recommendations for optimization
  6. 13:07Demo: Executable JAR extraction
  7. 14:33Demo: Buildpacks and CDS
  8. 15:35Optimizing Pet Clinic step-by-step
  9. 22:45Performance benchmarks
  10. 26:19Future: Project Leyden
  11. 27:25Q&A
~/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.