Tomcat. Profiling with VisualVM and fixing possible bottlenecks

432 views Asked by At

I need to find out if a server request has a bottlenecks or not.

I used the Sampler of the VisualVM for analysing.

I found two method-entries having long times:

  • org.apache.coyote.http11.InternalInputBuffer.fill()
  • org.apache.tomcat.util.threads.TaskQueue.poll()

What can I do and is it possible at all to decrease the times of the both methods?

I also tried to switch to the NIO connector but it didn't help

enter image description hereThank you in advance for your help

0

There are 0 answers