On 17/02/2011 14:56, Afkham Azeez wrote:
> Hi folks,
> What is the advantage of using this connector as opposed to the default one?
> In which scenarios would we tend to use the default connector, and in which
> scenarios will it be more appropriate to use the NIO connector?

NIO and APR use one thread per currently processing request.
BIO uses one thread per connection. Since usually connections >>
currently processing request, NIO and APR scale better.

BIO has slightly better raw performance than NIO (excluding sendfile).

APR and NIO support sendfile.

APR has much better SSL performance.

NIO and APR support Comet, BIO does not.

As with anything performance related, YMMV. The only way to be sure is
to test it.

Mark

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

Reply via email to