You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2002/04/17 17:08:51 UTC
DO NOT REPLY [Bug 8209] -
Buffer for response input stream too small
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=8209>.
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=8209
Buffer for response input stream too small
wolfgang.theilmann@sap.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|Other |Medium
------- Additional Comments From wolfgang.theilmann@sap.com 2002-04-17 15:08 -------
... cont
If you replace the line
input = socket.getInputStream();
with line
input = new BufferedInputStream(socket.getInputStream(), 8192);
you get a performance gain of factor 4 for reading 1MB-files.
A buffer size of 4096 does not have any positive effect on the performance.
Interestingly, this effect only occurrs for the Apache mod_dav server.
Performance with IIS is not affected.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>