About 90% of all Lambda functions monitored by Dashbird on AWS Lambda are running Nodejs and Python runtimes.
Is this purely a reflection of the general popularity of these programming languages?
Why are Nodejs and Python so popular?
Python has grown mainly due to its simplicity and readability, which confers a relatively flat learning curve. As well as its versatility to address a variety of problems. In the last 2 decades, it has been adopted by academia and several universities, which laid the foundation for its current dominance in the data science field.
Apart from these particularities, both are dynamic languages that play really well with the current software trends, as we’ve covered in this article.
What else is behind their popularity on AWS Lambda
If we look at the programming language popularity index (PYPL), Python and Nodejs snap about 50% of the software development market nowadays. There must be something else going on to make it so much more popular on Serverless.
Another aspect is that AWS Lambda is popularly used as a backend service behind SaaS and mobile applications. This market is also relatively skewed towards scripting languages, particularly the two in question. Serverless is not as popular in other markets, such as IoT and desktop applications, in which languages such as Java and C tend to dominate.
But we believe it also has some connection to the inner architecture of Serverless as well. One of the limitations in Lambda functions, for example, is cold starts. The heavier the runtime startup footprint, the worse it becomes. Python and Nodejs have advantages on this side. Although Golang usually outperforms both, especially on concurrent asynchronous jobs, the AWS Lambda platform doesn’t seem to be well optimized for it yet.
Just like Python and Nodejs are super popular on AWS Lambda, Dashbird is also the most widely used serverless monitoring tool out there. It provides developers with visibility and peace-of-mind alerting tools that are tailored for serverless resources, including Lambda functions, DynamoDB tables, API Gateway, SQS queues, etc. Join thousands of developers already using Dashbird now, it’s free and requires no credit card.