tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to support IPv6 on Apache Tomcat Version 7.0.22
Date Tue, 10 Jul 2012 16:37:57 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aditi,

On 7/9/12 3:34 AM, Aditi Sinha wrote:
> Thank you so much. We specified the BIO connector implementation
> for HTTP and AJP protocol and the setup now supports IPv6.
> 
> Is there any preference among the three connectors "BIO", "NIO" and
> "APR"? How should one decide which connector to opt for?

IMHO the NIO connector should be your best bet: it can serve the
highest number of clients with the lowest overhead *and* does not
require any native code to do it. So, it's more effective *and*
simpler to deploy. Also, NIO (and APR) support the Comet protocol
whereas BIO does not.

You can certainly use NIO with AJP, though you may have to reconfigure
your AJP bridge to get the benefit of additional AJP connections from
the web proxy -- otherwise, you're just going to be using the standard
N:N connection mapping between httpd and Tomcat, and won't get the
benefit of being able to handle many (thousands?) connections from
httpd to Tomcat with a smaller number of request processing threads in
your <Executor>.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/8WmUACgkQ9CaO5/Lv0PCTpgCeJy3yxj7b2GFh11y59lV2Xvuz
wjMAn0/cvgbTk9L2iVbX/bvFpgFIJfCU
=H/0+
-----END PGP SIGNATURE-----

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


Mime
View raw message