tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Which listeners required in server.xml?
Date Mon, 01 Jun 2009 17:34:05 GMT
Hash: SHA1


On 5/30/2009 12:43 AM, Bill Barker wrote:
> "Christopher Schultz" <> 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

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.


- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message