~/talk

Lean Spring Boot Applications for The Cloud

Talkat Voxxed Days Ticino 2023 · on Friday, 2023-01-20· [web-performance]
slides:none on file

Baseline container is ~312 MB image with ~430 MB RAM and ~4 s cold startup. Swapping to Java 19 saves ~0.4 s; forcing C1 JIT cuts ~90 MB RAM and ~0.66 s from startup; enabling spring-context-indexer and spring.main.lazy-initialization plus tightening spring config reduces cold start to ~1.5 s. Using jlink cuts image ~80 MB (to ~245 MB); a native image drops to ~200 MB and starts far faster. Buildpacks (Paqueto) and JVM choice (OpenJ9, Liberica) materially change size, RAM and startup.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36Warning
  3. 1:21Who is Patrick
  4. 2:30The problem with Spring
  5. 4:22Other considerations
  6. 6:24Agenda
  7. 7:30Spring Pet Clinic
  8. 8:14Spring Pet Clinic Community
  9. 8:58Spring Pet Clinic Stack
  10. 9:50Experiments
  11. 11:14Paqueto
  12. 13:03Build Packs
  13. 21:29Java Optimization
  14. 23:28Spring Context Indexer
  15. 25:45Lazy Spring Beans
  16. 28:08Spring Boot Actuators
  17. 29:49Spring Boot Configuration Files
  18. 31:27Disabling JMX
  19. 33:43Application Optimization
  20. 37:14Jlink
  21. 40:34Native Images
  22. 41:13Crack
  23. 42:56CPU and throughput
  24. 44:34Optimizations
~/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.