~/talk

How to avoid common mistakes and misconceptions when working...

Talkat GeeCON Prague 2022 · 2022-05-11..05-13· [serverless, web-performance]
links:none on file
slides:none on file

Java Lambdas suffer two concrete cold starts: init duration ~1.8s (128 MB example) and JVM warmup that slows early requests; loading a different code path can spike latency by seconds. Provisioned concurrency removes many cold starts and a constructor pre-warm that executes common code paths cuts first-call latency from ~700ms to pre-warm in constructor -> 33ms. Cost math uses AWS Pricing Calculator and CloudWatch metrics; at scale (example: StackExchange 495 req/s -> 99 provisioned instances) Fargate often becomes cheaper. L1 in-process caches fail; use L2 (Redis) or Lambda extensions.

AI-written summary · about

  1. 0:00Intro
  2. 3:47Lambda instance lifecycle
  3. 9:45Cold start type 1 (container recycle)
  4. 16:05Cold start type 2 (JVM JIT and lazy load)
  5. 17:32Reducing cold starts
  6. 23:47Cold start for provisioned concurrency
  7. 24:45Provisioned concurrency best practices
  8. 29:12Lambda pricing
  9. 31:00How to calculate AWS costs
  10. 32:28Assumptions
  11. 33:12Scenarios considered
  12. 34:06"Hello world", 1 request per second
  13. 35:13Fargate, 1 request per second
  14. 38:49Simulating Stack Exchange
  15. 46:37Caching in Lambda - challenges
  16. 48:09Caching in Lambda - approaches
~/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.