Comparing AWS Lambda performance of Node.js, Python, Java, C# and Go

Click for: original source

Yun Zhi Li – VP of Engineering APAC at continoHQ – wrote this article as a reaction to comparison of lambdas done in previous year by Yan Cui. He noticed that despite AWS adding more languages to lambda runtime, old languages were not neglected. In the article he reviewed and updated runtime performance benchmark of all five programming languages supported by AWS Lambda.

Similar to the original performance tests, author ignored the initial cold start time – and focused only on the duration metric to compare runtime performance between the different languages.

To manage the performance load test, he created a script that calls artillery.io. The script executes a load test across all twelve APIs over a one-hour period:

Some observations:

  • Observation 1 – .Net Core 2.0 significantly outperforms
  • Observation 2 – Go performance is comparable to Java
  • Observation 3 – Consistent performance of compiled vs dynamic

With Go and .Net Core 2.0 support, AWS continues to lead the FaaS race as the most mature provider – with the widest range of supported languages. Good read!

[Read More]

Tags serverless aws performance apis