~/talk

AWS Lambda performance tuning

Talkat jsday 2024 · 2024-04-11..04-12· [web-performance]
slides:none on file

An actual walkthrough shows a Node.js API using Aurora/Postgres + RDS Proxy, Elasticache (Redis) and API Gateway, with live load tests and tooling: Power Tools, Power Tuning and bundlers. Swapping SQL libraries to postgress.js shrinks bundle size from ~1.6MB to ~40KB, ARMs (Graviton) cut ~20% latency, Redis caching saves ~84ms, and configuration tuning yields ~56% fewer cold starts and up to 95% faster warm responses (P99 drops from >2s to sub‑second). The sample stack runs and those gains replicate in tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48How Lambda works
  3. 5:39Unoptimized Lambda API example
  4. 9:50Performance tips
  5. 14:07Load testing with Artillery
  6. 18:51Caching and ARM optimizations
  7. 22:44Parameter caching with extensions
  8. 26:23Low latency runtime (LRT)
  9. 29:14Key takeaways
  10. 30:00Q&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.