axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24214] - Axis performance reading socket input stream
Date Thu, 30 Oct 2003 21:42:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24214>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24214

Axis performance reading socket input stream





------- Additional Comments From dave_marquard@forgent.com  2003-10-30 21:42 -------
Looks good, Alex. Couple comments:

1) Unfortunately, reading until InputStream.available() == 0 isn't kosher. It
turns out that just because no bytes are available to read without blocking
doesn't mean that we're at the end of the stream. 

2) Your patch does have a nice performance benefit! I noticed a speed increase
of about 6 requests/sec over what's in CVS using your test case (~75 req/s vs.
~81 req/s; axis running inside JBoss/Jetty, client and server on same machine).

I'll attach a revised version of your patch that doesn't use
InputStream.available().

Mime
View raw message