Can Java cold-start?

A WildFly based HTTP service

In this installment of the series we are using examples running on WildFly 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 14 - WildFly 2,002 ms 84 ms 2,086 ms
Example 15 - WildFly (Docker) 7,788 ms 141 ms 7,929 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 22nd, 2021

Up