~/talk

Going Serverless with Spring Boot 3

Talkat JCON Europe 2023 · on Tuesday, 2023-06-20· at 15:00· Cinema 7, Im Mediapark 1, 50670 Köln, Germany· [serverless]
name:Timo Salm
github:timosalm
slides:none on file

Shows how to run Spring Boot 3 on Knative and as GraalVM native images using Cloud Native Buildpacks or the native Maven plugin, with practical tradeoffs: startup drops from ~4s to ~100–200ms, memory falls from ~200MB to ~37MB, and Knative serves with autoscale-to-zero during Hey load tests. Builds take significant resources and time—native-image compilation consumes minutes and multiple GB of RAM—so use the native-image Java agent to record reflection hints and delegate heavy builds to CI/CD.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:47Why use serverless
  3. 4:55Serverless runtimes overview
  4. 7:24K-native serving introduction
  5. 8:28Containerizing Spring Boot apps
  6. 11:15Deploying to K-native
  7. 12:42Auto-scaling with K-native
  8. 15:10JVM vs native image trade-offs
  9. 18:23GraalVM native images
  10. 23:01Dynamic features and hints
  11. 29:24Spring Boot 3 and native support
  12. 32:55Building native Spring Boot apps
  13. 34:56Demo and resources
  14. 37:50Native image performance demo
  15. 40:41K-native with native image
  16. 42:25JVM checkpoint restore
  17. 43:28Conclusion and Q&A
~/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.