Can Java cold-start?

A Glassfish based HTTP service

In this installment of the series we are using examples running on Glassfish 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 34 - Glassfish 4,678 ms 449 ms 5,127 ms
Example 35 - Glassfish (Docker) 13,076 ms 995 ms 14,071 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 1st, 2021