With Thundra's Warmup Lambda you can keep your function warm to avoid cold starts as much as possible.
Take the following steps to setup warmup support (user-end):
- Thundra provides a Lambda function called
thundra-lambda-warmupon the user end to trigger Lambda functions with warmup messages periodically. This function must be deployed once.
- Specify the Lambda functions to be warmed-up.
The following ways are supported to setup
thundra-lambda-warmup on user end:
If the user end is not an automated deployment environment, setup
thundra-lambda-warmup manually on user end by CloudFormation template.
thundra-lambda-warmup by using Serverless framework. If a Serverless framework is already used for deploying your Lambda functions, this is the recommended option with the least number of manual actions.
NOTE: Currently Java, Node.js, Python and .Net agents have warmup support. Others are going to support soon.