I have a question, and I would like an answer.
I have a Lambda function that uses a maximum memory of 31 MB , and the allocated memory is set to 128 MB, it will take 2556.68 ms.
However, if you increase the allocated memory to max 1536 MB, you need to completely execute 621.81 ms, and the used MAX memory will be exactly the same 31 MB.
Why is the Lambda function much faster when the memory used is exactly the same in two cases?
source
share