Can Java cold start?

A Micronaut based HTTP service

In this installment of the series we are using examples running on Micronaut to cold start the 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 28 - Micronaut 80 ms 490 ms 570 ms
Example 29 - Micronaut (Docker) 431 ms 1,157 ms 1,588 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 October 28th, 2021