Can Java cold-start?

An OpenLiberty based HTTP service

In this installment of the series we are using examples running on OpenLiberty 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 39 - OpenLiberty 1,137 ms 109 ms 1,246 ms
Example 40 - OpenLiberty (Docker) 2,020 ms 110 ms 2,130 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 November 5th, 2021

Up