-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 6/9/2011 9:40 PM, Caldarale, Charles R wrote:
>> From: Anand HS [mailto:anan...@gmail.com] 
>> Subject: Optimal Settings to use Tomcat as a HTTP File Server
> 
>> We plan to use tomcat to let users download static content 
>> ( media, executables etc.. ).
> 
> As much as I like Tomcat, I have to think it might be more
> appropriate to use Apache httpd rather than Tomcat for pure static
> content.

+1

If you don't need Java for anything else, skip Tomcat altogether. There
are faster HTTP servers than both Apache Tomcat and Apache httpd.

> However, if you really want to use Tomcat, and you expect a heavy
> load, install the APR connector (especially important if you're using
> SSL).

If you don't need SSL, the NIO connector is a good bet, too. Both APR
and NIO support "sendFile" which allows higher-throughput static file
serving.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3yc3kACgkQ9CaO5/Lv0PBiHACePaG1u57geBMBY+5nN46e7jcr
KlwAn08b0nwm0NgqVVWA2za3VSgON5tM
=Dm40
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to