~/talk

What's new with Spring Native on Google Cloud

Talkat Google I/O 2022 · 2022-05-11..05-12· [java, cloud-infrastructure]
slides:none on file

Spring Native uses GraalVM native-image and ahead‑of‑time compilation to turn Spring apps into native executables, cutting Docker image size and startup time at the cost of longer, memory‑heavy builds (minutes and several GB). Example uses Spring Boot 2.6.4 with Java 11 baseline, builds via Spring Boot Build-Image, pushes artifacts to Artifact Registry and runs on Cloud Run. Runtime works and shows dramatic size and cold‑start improvements, but dynamic class loading requires explicit native hints and extra config.

AI-written summary · about

  1. 0:00Start
  2. 1:08What Is Spring Native
  3. 1:39Ahead of Time Compilation
  4. 2:13Compilation
  5. 8:27Dependencies
  6. 8:44Native Image Support
~/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.