~/talk

Thawing Java on AWS Lambda Reducing Cold Start Times from 11 Seconds to 1

Talkat JCON WORLD ONLINE 2023 · on Tuesday, 2023-11-21· at 12:00· Live-Stream 2, Online - Remote· [java, serverless]
links:none on file
slides:none on file

Java Lambda cold starts drop from roughly 11 seconds warm-to-warm to under 1 second by compiling a Spring Cloud Function with GraalVM Native Image (native AOT) — benchmarks show ~200 ms cold starts for Micronaut apps compiled native, versus ~1 s when using Lambda SnapStart snapshots if the full code path is exercised before snapshot. Tradeoffs: native builds take minutes, need reflection metadata and native tests, lose JVM tooling and binary portability; Rust/Go remain faster (~40 ms) but require language switch.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:53Demo setup and Lambda function overview
  3. 5:19Understanding cold starts and their impact
  4. 13:29Analyzing cold start causes in Java
  5. 18:05Just-in-time compilation bottleneck
  6. 19:30Lambda SnapStart solution explained
  7. 24:31Rust as an alternative for performance
  8. 28:48GraalVM native image compilation
  9. 33:48Drawbacks of GraalVM native compilation
  10. 42:28Decision flowchart for optimization
  11. 44:14Q&A and closing remarks
~/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.