First check whether the entire Javaapplication is slow or just a certain request
Look at the machine’s CPU load, CPU utilization, and I/O conditions
If there is no problem with 2, then look at the GC status of the applicationJava
If there is no problem in 3, then dump all
and see what the threads are doingJava
If you rely on external services (database/other services), check whether the health of other services is good
If there are many dependencies, you need to analyze where the slowness is based on the calling link (starting from the reverse proxy, to Tomcat, to the application (including cache, database), then to page rendering and finally to browser parsing)
The question is not very detailed
First check whether the entire
Java
application is slow or just a certain requestLook at the machine’s CPU load, CPU utilization, and I/O conditions
If there is no problem with 2, then look at the GC status of the application
Java
and see what the threads are doing
Java
Ping and check the network situation
iostat jstack