129. Lambda Provisioned Concurrency
HomeAWS Bites › Episode

129. Lambda Provisioned Concurrency

22:17 Aug 22, 2024
About this episode
In this episode, we discuss AWS Lambda provisioned concurrency. We start with a recap of Lambda cold starts and the different concurrency control options. We then explain how provisioned concurrency works to initialize execution environments in advance to avoid cold starts. We cover how to enable it, pricing details, common issues like over/under-provisioning, and alternatives like self-warming functions or using other services like ECS and Fargate. ? SPONSORS ? This episode of AWS Bites is powered by fourTheorem. Whether you're looking to architect, develop, or modernize on AWS, fourTheorem has you covered. Ready to take your cloud game to the next level? Head to ????https://fourtheorem.com????? to check out our in-depth articles, and case studies, and see how we can help transform your AWS journey. In this episode, we mentioned the following resources: Episode 60: "What is AWS Lambda": https://awsbites.com/60-what-is-aws-lambda/ Episode 104: "Explaining AWS Lambda Runtimes": https://awsbites.com/104-explaining-lambda-runtimes/ Episode 108: "Solving Lambda Cold Starts in Python": https://awsbites.com/108-how-to-solve-lambda-python-cold-starts/ Episode 120: "Lambda Best Practices": https://awsbites.com/120-lambda-best-practices/ AWS Lambda Concurrency Explained by James Eastham: https://www.youtube.com/watch?v=KHACnNKTefI Provisioned Concurrency pricing: https://aws.amazon.com/lambda/pricing/#Provisioned_Concurrency_Pricing Less than 1% of invocations are cold-starts (statement): https://docs.aws.amazon.com/lambda/latest/operatorguide/execution-environments.html Middy Warmup Middleware: https://middy.js.org/docs/middlewares/warmup/ Lambda speculative warm-up init (mention in the Docs): https://docs.aws.amazon.com/
Select an episode
0:00 0:00