~/talk

High Performance Serverless Functions in Scala

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [scala, serverless]
slides:none on file

Compiles vanilla Scala fat jars with SBT assembly into native Linux executables via GraalVM native-image (built in Docker), deploys those to AWS Lambda custom runtime behind API Gateway or SQS, and avoids JVM cold starts by removing runtime reflection and packaging CA certs and libsunec. Results: cold starts mostly under 250 ms, warm responses about 50–80 ms, typical Slack callback finishes ~80 ms so billing rounds to 100 ms. Uses minimal libs (Apache HTTP Components, JSON Eider, AWS Java SDK) and works for low-cost, snappy serverless APIs.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:30Vanilla Scala and GraalVM
  3. 3:40Problem with JVM on Lambda
  4. 8:40Introducing GraalVM
  5. 13:25Performance with GraalVM
  6. 17:01Vanilla Scala with GraalVM
  7. 17:26Speaker introduction
  8. 18:30Q&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.