> From: André Warnier [mailto:[email protected]]
> Subject: Re: TCP Window Size
>
> FTP is probably full of tricks to manipulate the window size and packet
> size dynamically, in function of the link performance at any point in
> time. Tomcat being a much more generic piece of software, I doubt it
> would include the same kind of logic.
The download efficiency of Tomcat can be improved by using a sendfile-capable
<Connector>; the standard blocking connector does not use sendfile, but NIO and
APR do.
> I would also think that, TCP window size being a parameter down at the
> socket level, it would be surprising if Tomcat itself had a
> configuration parameter for this.
The NIO connector does: socket.txBufSize. However, for downloads, the window
size is controlled by the box on the other end, not Tomcat; you need to get the
client to adjust.
> Another suggestion : set up a comparison between Apache HTTPD and
> Tomcat, both delivering a page with a http link to the file you want to
> download, compare those, and post your comparison here.
Better to try the different Tomcat connectors, rather than add that degree of
complexity. The APR one should provide the identical network handling as
httpd, without the overhead of going through two components. Read more about
it here:
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
especially the section near the end on asynchronous writes.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]