~/talk

Serverless Java hacks: Think different and leave old habits...

Talkat GeeCON Prague 2023 · 2023-10-19..10-20· [serverless, java]
links:none on file
slides:none on file

Explains concrete serverless Java practices: prefer static global cache for short lived reuse, avoid heavy frameworks that create pools and instead avoid connection and thread pools by keeping one connection/thread per invocation, use event driven flows to prevent paying while waiting, target startup optimizations with GraalVM native compilation and AWS SnapStart or CRaC, consider Quarkus and native HTTP clients, use Java CDK or Pulumi for infra, and design for bursts like 10,000 parallel invokes.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:57What is serverless computing
  3. 4:09Key serverless Java challenges
  4. 8:21Handling state in serverless
  5. 11:11Static variables as cache
  6. 14:27Event-driven approach benefits
  7. 16:59Avoid resource pooling
  8. 17:20Speed matters in serverless
  9. 19:32Infrastructure as Java code
  10. 20:57Cold starts and JVM optimizations
  11. 22:43Q&A session
~/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.