Skip to content

Latest commit

 

History

History
61 lines (32 loc) · 2.26 KB

File metadata and controls

61 lines (32 loc) · 2.26 KB

dotnetcore3.1 vs node.js14.x

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.

What I did

Two Lambda functions:

They get the SQS event as input and save it into DynamoDB.

TESTS

The first noticeable thing is the package size:

  • Process 200K SQS messages
  • Process 400K SQS messages

METRICS TEST 200K SQS

Nodejs14.x:

picture

picture

Dotnetcore3.1:

picture

picture

Insight:

picture

METRICS TEST 400K SQS

Nodejs14.x:

picture

picture

Dotnetcore3.1:

picture

picture

Insight:

picture

Conclusion

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.