~/talk

Going Serverless With Spring’s Support for GraalVM, Project CraC & More

Talkat Øredev 2024 · 2024-11-06..11-08· [serverless]
name:Timo Salm
github:timosalm
slides:none on file

Compares concrete results: a baseline Spring Boot app cold-starts in ~6.5 seconds and uses ~200 MB; a GraalVM native image cuts startup to ~400 ms and roughly quarters memory but native builds take ~3m30s and ~3.5 GB RAM so CI-based builds are recommended; Project CraC restores a warmed JVM to ~244 ms startup with no memory win and requires snapshot handling and extra OS capabilities; class data sharing gives smaller, safe 2–4× startup wins with a single flag and minimal trade-offs.

AI-written summary · about

  1. 0:00Serverless introduction
  2. 5:18Serverless drawbacks
  3. 7:04Deploy Spring on Knative
  4. 10:13Spring startup slow
  5. 14:37GraalVM native images
  6. 24:45GraalVM trade-offs
  7. 27:59Spring GraalVM hints
  8. 29:05Project CRaC snapshots
  9. 34:37Class Data Sharing
  10. 38:15Project Leyden AOT
  11. 39:20Optimization comparison
  12. 40:23Resources and next
~/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.