What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Jorge Medina
Does anybody know what significantly means on the following paragraph
of the Tomcat Native library?
 
When APR is enabled, the AJP connector will use a socket poller for
keepalive, increasing scalability of the server. As AJP is designed
around a pool of persistent (or almost persistent) connections, this
will reduce significantly the amount of processing threads needed by
Tomcat. Unlike the HTTP connector, the AJP connector cannot use sendfile
to optimize static file processing.

Taken from :
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
 

-Jorge

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



RE: What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Caldarale, Charles R
 From: Jorge Medina [mailto:jmed...@e-dialog.com]
 Subject: What are the benefits of using Tomcat Native when
 using AJP connector?

 When APR is enabled, the AJP connector will use a socket poller for
 keepalive, increasing scalability of the server. As AJP is designed
 around a pool of persistent (or almost persistent) connections, this
 will reduce significantly the amount of processing threads needed by
 Tomcat.

It does not reduce the number of threads required to handle concurrent 
requests, but it does eliminate the dedication of a thread to a connection when 
that connection is in an idle (keep-alive) state.  Whether or not that's 
significant in your environment depends on how busy your connections are.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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