Best practices for serverless developers
summary
Serverless advice: replace Lambdas that only proxy with API Gateway direct integrations, Step Functions SDK calls or EventBridge pipes to cut cost and cold starts. Cold starts range ~100 ms–8 s but occur <1% of invokes; SnapStart yields up to 10x faster startup for Java (and paid options for .NET/Python). Tune memory (up to 10 GB → up to six cores) and use Lambda Power Tuning to find lowest-cost, fastest config; reduce package size and group functions by bounded context to lower concurrency overhead.
AI-written summary · about
chapters (13)
- 0:00Introduction to serverless
- 1:29Speaker background
- 2:57Why serverless adoption grows
- 6:11AWS Lambda overview
- 9:24Understanding cold starts
- 12:36Optimizing Lambda performance
- 15:27Lambda function design
- 17:58Configuring Lambda memory
- 19:45Minimizing deployment size
- 20:50Lambda SnapStart explained
- 22:13Lambda concurrency and scaling
- 24:49Getting started with SAM
- 28:48Resources and closing
