You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2009/06/01 19:34:05 UTC

Re: Which listeners required in server.xml?

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

Bill,

On 5/30/2009 12:43 AM, Bill Barker wrote:
> "Christopher Schultz" <ch...@christopherschultz.net> wrote in message 
>
>> Adding the APR library will give you a significant performance
>> improvement even with the plain-old HTTP connector. It might be worth
>> installing APR and leaving that listener in there.
> 
> Urm, and u are basing this on what?

I am basing this on my recent benchmarking, with some results available
on this list under the thread "Apache httpd vs Tomcat static content
performance".

I'm not just talking out of my ass, here.

> A low-traffic dynamic site should see
> next to nothing using APR, and could even lose (given the interlocks to 
> JNI).  It all depends on who is smarter, the JVM developer, or the APR 
> develper for CentOS.

CentOS is just another GNU/Linux flavor. I doubt any optimizations are
made especially for it (or other Linux flavors), so I wouldn't worry too
much about the "APR developer for CentOS" having to do too much work to
get decent performance out of it. It's not like httpd is a dog on CentOS
or anything.

> Again, to the OP, profile both configurations for your OS, and make the 
> decision then.

+1

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

iEYEARECAAYFAkokEQ0ACgkQ9CaO5/Lv0PCxewCfeijsi0vMkH6nwuIRi6IUpdyp
GgwAniEROVb9ScKvEzjHICuiLv0CEQFR
=NttG
-----END PGP SIGNATURE-----

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