~/talk

Afraid of Java Cold Starts in Serverless? Fear Not, Java is Super Fast!

Talkat JCON Europe 2023 · on Wednesday, 2023-06-21· at 16:00· Cinema 7, Im Mediapark 1, 50670 Köln, Germany· [java, serverless]
links:none on file
slides:none on file

Plain Java starts in milliseconds on a laptop (measured ~67 ms local), full Java EE servers take seconds (GlassFish >5s), Quarkus with build‑time optimizations boots around Quarkus 890 ms, Spring Boot about 1.7s, but a minimal Piranha engine runs ~Piranha 200 ms and without the HTTP stack ~Piranha 100 ms. On AWS Lambda a cold init with Piranha measures ~500 ms cold start then subsequent invocations drop to ~2 ms; options discussed include JVM tuning, AWS SnapStart and GraalVM native images.

AI-written summary · about

  1. 0:00Introduction to Java in serverless
  2. 1:27What is AWS Lambda and cold starts
  3. 8:11Java startup speed in AWS Lambda
  4. 11:45Local Java startup performance demo
  5. 15:52Java EE vs plain Java startup times
  6. 16:12Optimizing Jakarta EE for fast starts
  7. 17:16Quarkus framework deep dive
  8. 24:31How Quarkus works under the hood
  9. 28:44Piranha Cloud framework introduction
  10. 32:20Piranha Cloud startup demo
  11. 39:23Running Piranha Cloud in AWS Lambda
  12. 44:07Optimizing JVM and resources
  13. 46:58AWS SnapStart and JVM optimizations
  14. 49:27Conclusion and framework choices
~/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.