In this lab, we are presented with a site that is struggling under load because the backing DynamoDB table has had its read and write provisioning drastically reduced to avoid incurring significant cost. To correct this, we will provision an ElastiCache cluster and modify the Lambda functions in the site architecture to implement a simple caching scheme that returns the site to a functional state.
Successfully complete this lab by achieving the following learning objectives:
- Launch an ElastiCache Cluster
This video will walk you through launching the ElastiCache cluster we will implement using our Lambda functions.
- Modify the getTaStats Function
This video will walk you through updating, deploying, and configuring our first Lambda function.
- Modify the taStreamProcessor Function
This video will walk you through updating, deploying, and configuring our second Lambda function. We’ll then view how our site was affected by the modifications.