We are doing performance testing of a web application with JSF and Hibernate, and we have found very high times in the SocketInputStream class, API Connection Pooling on the purepath. Added screen with purepath with detail and recorded highs.
We do not know why there are high times in this class, what exactly is it doing?
What can be the source for these high times to be recorded?
High SocketRead times can be common in some environments and can be caused by various things. In my research, I have found the general consensus to be that adding timeouts to your threads can stop blocked/hung threads from becoming a problem.
Here is a great article that explains some common problem patterns and gives helpful solutions:https://javaeesupportpatterns.blogspot.com/2011/08/javanetsocketinputstreamsocketread0.html