CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Serverless Applications with AWS Lambda

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice