~/talk

Lambda SnapStart – CRaC’ing the cold start

Talkat Cloud Builders: Java Conf 2023 · on Thursday, 2023-03-30· [java, serverless]
slides:none on file

Lambda SnapStart snapshots a warmed JVM heap for published Lambda versions so subsequent cold starts restore a snapshot instead of redoing classloading and JIT, cutting a Spring Boot example from ~7s cold start to ~1s (benchmarks show ~536ms after priming, ~<500ms with extra hooks). Configuration uses the Lambda version/alias model and infra-as-code flags (for example apply on published versions in SAM/CDK). Hooks implement org.crac.resource for pre-snapshot hook and post-restore work; beware network retries, ephemeral secrets and java.util.Random.

AI-written summary · about

  1. 0:00Introduction to SnapStart
  2. 1:51Java in serverless applications
  3. 3:58Cold start problem in Lambda
  4. 9:18How Lambda SnapStart works
  5. 12:16Configuring SnapStart
  6. 18:39Demo and live results
  7. 24:02Considerations and limitations
  8. 27:09Performance improvements data
  9. 29:13Q&A and resources
~/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.