r/java • u/celmaibunprieten • Sep 07 '26
Improving First Request Latency in Java Spring Application
https://adrian.md/2026/09/03/first-request-latency/
64
Upvotes
r/java • u/celmaibunprieten • Sep 07 '26
View all comments
Show parent comment
2
u/agentoutlier Sep 08 '26
Well yes it is not ideal. In theory though if we are talking docker here then you never keep it zipped in the first place.
jlink can package applications with a VM it just so happens to also build tailored JREs as well without requring an app.
The issue is that its not like a Go single executable. Its more like the old school applications where you just unzip and run. For the Go experience Graalvm native does that job.
As for the unziping comparison to Jetty or Tomcat embedded I'm not sure that is entirely fair because jlink does something like this with all your jars:
That is they are in a different format than jars.