There are many strategies to reduce latency. We will look at two, both of which are set in the SAM template:
- Increasing the Lambda RAM size: Currently, it is set to the minimum of 128 MB
- Increasing the DynamoDB Read Capacity: Currently, it is set to the smallest value of 1 unit