This is my second series of comparisons. The first was a more cold start test, while on this one, I want to check how they compare in a warm status.
Two Lambda functions:
They get the SQS event as input and save it into DynamoDB.
The first noticeable thing is the package size:
- Process 200K SQS messages
- Process 400K SQS messages
Nodejs14.x:
Dotnetcore3.1:
Insight:
Nodejs14.x:
Dotnetcore3.1:
Insight:
Dotnetcore3.1 is the winner, and even if it could have a slower start, it is much faster in a warm serverless scenario.
Faster means a cheap bill, and with 1ms pricing, there is now more of an incentive to optimize the duration of functions.