Majestic.cloud

A first look at the newly released Provisioned Concurrency feature of AWS Lambda

Announced at AWS re:Invent 2019 the brand new feature of AWS Lambda called Provisioned Concurrency allows you to keep your functions initialized and ready to respond in double digit milliseconds. This feature alleviates much of the pain that cold starts represent for Lambda developers.

In this video we will have a first look at this feature, see how provisioned concurrency is enabled in the console, we then use an AWS SAM template to setup provisioned concurrency and AWS SAM CLI to deploy a stack with two functions. One with provisioned concurrency and one without it. Then we load test them with the ab tool and compare the results.

The code we used in the video can be found at the following GitHub repo: https://github.com/majestic-cloud/lambda-provisioned-concurrency

Exit mobile version