~/talk

(N+1) Lessons I learned about serverless

TalkinItalianat Voxxed Days Ticino 2023 · on Friday, 2023-01-20· [serverless]
speakerdeck:petecocoon
slides:none on file

Practical serverless advice for AWS Lambda: measurement shows short Lambdas (~200 ms) scale to ~5,000 RPS per 1,000 concurrent containers but performance and RPS drop as execution time increases and providers may throttle around 1,000–1,500 concurrent executions. Recommendations include splitting monolithic functions into many small handlers, using SQS/SNS/EventBridge or Step Functions for orchestration, uploading files via S3 presigned URLs to reduce Lambda runtime, sharing code with Lambda Layers, enforcing least-privilege with IAM Access Analyzer and SAM templates, switching to Graviton CPUs for ~34% better cost/performance, and using Power Tuning and budget alarms to avoid runaway costs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Disks
  3. 4:55Scaling the service
  4. 7:23Exposing the service to the user
  5. 8:51Exposing the service directly
  6. 11:28Reducing execution time
  7. 13:55Development permissions
  8. 16:52Improving performance and lowering costs
  9. 18:32Conclusions
~/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.