IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Serverless Applications with AWS Lambda

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio