~/talk

How To Reduce Cold Starts for Java Serverless Applications in AWS

Talkat GOTO Amsterdam 2024 · 2024-06-10..06-13· [serverless, java]
slides:none on file

Java cold starts drop a lot when specific tactics are applied: enabling AWS Lambda SnapStart cuts P90 from ~3.5s to ~2s and with priming to ~1.3s (≈60–70% reduction); switching to GraalVM Native Image yields the best single-call result (~0.5s) but requires Linux native builds, heavy CI RAM and reflection config; deployment/snapshot creation takes ~2–2.5 minutes and SnapStart cache expires after two weeks; use ~1GB memory and the AWS CRT HTTP client for further improvements.

AI-written summary · about

  1. 0:00Intro
  2. 1:44Java popularity
  3. 2:17Life of the Java (Serverless) developer on AWS
  4. 5:10Serverless with Java challenges
  5. 5:55Challenge No. 1
  6. 13:05Best practices & recommendations
  7. 19:08AWS SnapStart
  8. 26:42AWS SnapStart challenges & limitations
  9. 33:40Best practices & recommendations
  10. 39:06AWS SnapStart deployment & invocation
  11. 41:33GraalVM
  12. 44:50GraalVM conclusions
  13. 48:51Word of caution
  14. 51:12Outro
~/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.