Our Tomcat web application is slow when used by several hundred users. The servers are located in the hosting company, and their reports do not show any problems with the workload with bandwidth or processor, so I suspect that the reason for the slowdown may be due to disagreements on some outdated code that we encapsulated in synchronous calls, because it was an easier way.
I did some artificial tests in the development environment, changing synchronous calls with the ThreadLocal solution, and it gets faster, but I know that my boss will require me some evidence that he will also be faster in production.
How can I know for sure if the problem is with a conflict in the application?
source
share