Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Slow response time only on the first request

Hi all,

I am facing issue of slow response time for the deployed RESTEasy based web service only for the first request. It is taking more than 100 ms for the first request. Subsequent requests are taking less than 40 ms.

Are there any settings for reducing the initial warm-up timing for Jetty? Is it related to class-loading? If yes how to improve on slow latency for the first time in Jetty?

Also i have observed the same behavior when Jetty server was idle for some time. Then first request after idle time is taking more time.

Thanks,
Swapnil

Back to the top