Dear Sir/Madam,
Customer has a JAX-WS SOAP-Based web service class called AppService serving many of the operation with their mobile app. There are not much internal/custom packages written and imported in this AppService class; most of the operations are with standard JDK libraries, JWS and Apache HTTP client only. Generally, the underlying operations are the mobile app send XHR requests to this AppService and the service return required values in SOAP message through different web methods (web services).
Customer observed from Dynatrace PurePath records that there was certain amount of PurePaths (with similar operations) having response time > 40s. On Dynatrace it advised the method hotspot is with the doFilter operation (attached the PP example that take >47s to complete). The method in problem only took 2.82s to complete and most of the time was with the parent doFilter action. The slow response time issue did not happen all the time and in fact majority of recorded response time of similar PurePath activities complete within 5s. Checked server CPU and memory were sufficient. Checked the process (i.e., Tomcat) thread count was good, and no long-lasting GC was detected at the time the slow PurePaths happened.
In the method hotspot details page it showed most of the time (>90%) had been spent of Waiting. May I ask what components could introduce such delay. Per the stacktrace there are countdownlatch and acquire lock activities detected. These operations seem are not directly written in the AppService code but through the @WebMethod annotation. May I ask how Dynatrace would indicate which actual part of code/method play the biggest role on the delay/blocking.
Thank you very much.
Best Regards,
Zero ■■

