Memory, CPU, and cost trade-offs
Your team at LatencyZero Inc wants to find the optimal memory setting for a CPU-intensive function. Lambda allocates CPU proportionally to memory, so increasing memory can actually reduce execution time and total cost. In this exercise, you'll update ReuseBenchmark with a CPU-bound workload, run it at different memory settings, and compare the Duration metric.
This exercise is part of the course
Serverless Applications with AWS Lambda
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise