Re: Unexpected low CPU usage
Johan Stuyts <[email protected]> Tue, 22 Jan 2008 08:22:02 +0100
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
>> Apache XML-RPC does not use Commons HttpClient by default, but >> instead it >> uses the Sun HTTP implementation. Keep-alive is enabled and does *not* >> cause performance problems. > > That's really the question I'm asking. > > You seem to be defining "performance problems" as he inability of > utilising the CPU 100%. My question was did enabling keep-alive > increase or decrease the number of transactions per second? For the XML-RPC protocol, when I switch from the Sun HTTP implementation which uses keep-alive to a Commons HttpClient implementation which uses keep-alive, the number of transactions (and the CPU utilization) drops significantly. This is the same degradation I have seen with the SOAP protocol (which uses Commons HttpClient by default) from the beginning. Note that I did not see anything about keep-alive in the requests and responses when I monitored the SOAP traffic. Instead the 'Expect: 100-Continue' header was used. I am now trying to determine where the slowdown due to the use of Commons HttpClient is. Johan Stuyts =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com