Can Java cold start?

A Tomcat based HTTP service

In this installment of the series we are using examples running on Tomcat 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 18 - Tomcat 465 ms 104 ms 569 ms
Example 19 - Tomcat (Docker) 2,020 ms 542 ms 2,562 ms

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

Legend

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

Posted October 26th, 2021

Up