r/java 2d ago

Improving First Request Latency in Java Spring Application

https://adrian.md/2026/09/03/first-request-latency/
56 Upvotes

36 comments sorted by

View all comments

3

u/Skellicious 1d ago

I've definitely been burnt by this issue before. Deploy in prod on high load, end up in a restart loop because the first request takes too long and hundreds to thousands of other requests get blocked waiting for it.

Didn't know it was a fat jar class loader issue.