donkersgoed / async-lambda-function-retries-with-backoff-and-jitter

Async Lambda Function Retries with Backoff and Jitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bite-Sized Serverless: Async Lambda Function Retries with Backoff and Jitter

This project contains the infrastructure definition used in the article Async Lambda Function Retries with Backoff and Jitter on Bite-Sized Serverless: https://bitesizedserverless.com/bite/async-lambda-function-retries-with-backoff-and-jitter/

The compiled CloudFormation files can be found in the cdk.out folder. The Python files for the Lambda functions are placed in lambda_functions.

To compile the CloudFormation templates, follow these steps:

  1. First create a virtualenv with python3 -m venv .venv.
  2. Then activate the virtualenv with source .venv/bin/activate.
  3. Next, install the required Python packages by running pip install -r requirements.txt
  4. Then compile CloudFormation by running cdk synth. The output will be stored in cdk.out.

To deploy the templates to your AWS account, run cdk deploy.

About

Async Lambda Function Retries with Backoff and Jitter

License:MIT License


Languages

Language:Python 97.4%Language:Batchfile 2.6%