You can use tools like Load Runner to identify the performance bottlenecks of your web server and application server. Usually you should consider checking these places: server runtime environment, network connectivity conditions, and performance relevant parameter settings (such as timeout settings and cache settings).
Or you can refer to the information provided by your web server and application server vendor, it will help you more accurately locate the performance bottlenecks and make appropriate settings according to your actual workload.