Tony,

I've been working with the latest CVS snapshot of the webdavclient in conjunction with the latest HttpClient with great success.

I submitted a patch last week that would make it work even better, but based on the slow response, committers on the list do not appear to be paying much attention. Hopefully, your interest will prod them to pay more attention!

I've been actively contributing to both the Slide and HttpClient lists to improve the behavior of both together, and there seem to be others out there doing the same thing.

I'm not surprised that you're seeing significant performance issues with the older HttpClient, and I'm afraid that your best bet will be upgrading.

-Eric.

Tony Bigbee wrote:

Hi,

Is anyone using Commons httpclient beta 1 for development? I'm seeing performance issues
in 1.0.16 with the late 2001 commons .jar distributed with 1.0.16 --higher than expected CPU usage from the .readLine method
of httpclient that results from doing a put! Here's a high % CPU consumer from profling that, in my opinion
shouldn't be consuming so much resources (sometimes >25% of all traces of 5-20% total CPU, independent of OS, using Java 1.4.x):


TRACE 37
java.net.SocketInputStream.socketRead0(SocketInputStream.java:Native method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
java.net.SocketInputStream.read(SocketInputStream.java:182)
org.apache.commons.httpclient.HttpClient.readLine(HttpClient.java:1047)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:5 17)
org.apache.webdav.lib.WebdavResource.putMethod(WebdavResource.java:2239)
org.apache.webdav.lib.WebdavResource.putMethod(WebdavResource.java:2215)


I'm at a loss regarding whether to wait for a new version of the client webdavresource libraries, try to make some changes
to the putMethod of 1.6 to use the beta 1, etc. The 1.6 branch still appears to be using the older commons libs.


Thanks for any suggestions,

Tony



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to