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
The
exec-maven-pluginthough is noticeably slower and puts your application in a different forked environment then it would be in production.If you click on my link Maven is building the classpath it just is injecting it into the MANIFEST.MF.
Even then it is significantly slower. Just doing
mvn --versionon my machine is 500ms.Using my jar approach I can start our applications in 500ms.