~/talk

Java AOT in Production

Talkat JavaOne 2026 · 2026-03-17..03-19· [java]
links:none on file
name:Ian BROWN
links:none on file
slides:none on file

Netflix runs Leyden AOT to cut slow service startup about 15–20% by capturing a training run during canary capture and using that archive at scale. Recording and use require fully packaged jars, exact JVM/version/config and matching OS/CPU features — summarized as classpath must match. Implementation launches an orchestrator that records, zstd-compresses and uploads the archive to S3 (name = app+cluster+classpath hash), then parallel-downloads and verifies a signed digest on startup. Operational gotchas: graceful termination, dual-JVM memory oversubscribe, and large (~200 MB) raw caches; next step is using JDK 26 jcmd to end recording without killing the process.

AI-written summary · about

  1. 0:00Autoscaling Java Services
  2. 5:17Project Leyden Primer
  3. 9:55Ahead-of-Time Cache Basics
  4. 12:59Netflix Deployment Pipelines
  5. 18:00How Netflix Integrates AOT Features
  6. 23:23Lessons Learned
  7. 27:00Using the AOT Archive
  8. 30:45Results
  9. 33:27What's Next?
  10. 36:23Takeaways
  11. 38:05Q&A
~/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.