~/talk

Running Scala on AWS Lambda as a native-image

Talkat Scalar Conference 2025 · 2025-03-27..03-28· [serverless, scala]
links:none on file
links:none on file
slides:none on file

Case study of a year building AWS Lambdas with Scala 3, packaged via scala-cli, compiled to GraalVM native-image, and released as an open‑source custom lambda runtime. Shows a deployable GitHub template + Actions that builds a tiny zip/container, runs multiple handlers in one function, supports local testing, and emits structured JSON logs to CloudWatch. Reports cold starts are rare (~1% of invocations), warm calls run in single‑digit to low‑tens of milliseconds and logging can add tens of ms.

AI-written summary · about

  1. 0:00Introduction
  2. 2:58Key takeaways
  3. 4:43Why Scala for AWS Lambda
  4. 6:50Motivations for Lambda
  5. 9:21Technologies and tools
  6. 11:56How Lambda works
  7. 17:09Lambda pricing and performance
  8. 22:59JVM challenges on Lambda
  9. 24:49Solutions for cold starts
  10. 26:41Custom Scala Lambda runtime
  11. 29:50Local testing workflow
  12. 31:00Testing strategies
  13. 33:12Deployment on AWS
  14. 34:35Multiple handlers in Lambda
  15. 35:41Logging and debugging
  16. 37:10Performance metrics analysis
  17. 38:59Summary and GitHub demo
~/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.