Can NodeJS cold-start?

A NodeJS based HTTP service as a comparison

In this installment of the series we are using examples created using NodeJS to cold start a HTTP service.

If you want to run the experiment yourself you can download the example.tar.gz file.

Example Process start Process ready Process total
Example 44 - NodeJS 47 ms 4 ms 51 ms
Example 45 - NodeJS (Docker) 344 ms 3 ms 347 ms

These numbers were collected on a Mac Mini M1 with 16GB using Java 17


If you have any comments, suggestions or concerns, please start a discussion on GitHub.

Posted November 11th, 2021