You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by lmk <lo...@yahoo.fr> on 2009/06/16 15:30:52 UTC

Apache And tomcat: wich is the best conenctor to use

Hi all,

Im wondering if it's judicious to use apache with ajp connector, it seems
that, APR or NIO connector are more performant than AJP and they not support
AJP,
so it's very useful to use Apache on front end of tomcat using using AJP and
mod_jk? 

Best regards!
-- 
View this message in context: http://www.nabble.com/Apache-And-tomcat%3A-wich-is-the--best-conenctor-to-use-tp24054482p24054482.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Apache And tomcat: wich is the best conenctor to use

Posted by lmk <lo...@yahoo.fr>.
thanks a lot..



Caldarale, Charles R wrote:
> 
>> From: lmk [mailto:lotfi65@yahoo.fr]
>> Subject: RE: Apache And tomcat: wich is the best conenctor to use
>> 
>> Im just testing  mod_jk and load balancing in order to
>> imporove performance.
> 
> Then you do have a need for httpd (load balancing), so AJP is the most
> appropriate connector.
> 
>  - 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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-And-tomcat%3A-wich-is-the--best-conenctor-to-use-tp24054482p24055271.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Apache And tomcat: wich is the best conenctor to use

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: lmk [mailto:lotfi65@yahoo.fr]
> Subject: RE: Apache And tomcat: wich is the best conenctor to use
> 
> Im just testing  mod_jk and load balancing in order to
> imporove performance.

Then you do have a need for httpd (load balancing), so AJP is the most appropriate connector.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Apache And tomcat: wich is the best conenctor to use

Posted by lmk <lo...@yahoo.fr>.
I have no  good reason  except increase  tomcat response, Im not using SSL
for the moment. Im just testing  mod_jk and load balancing in order to
imporove performance.




Caldarale, Charles R wrote:
> 
> 
>> Subject: Apache And tomcat: wich is the best conenctor to use
>> 
>> Im wondering if it's judicious to use apache with ajp connector
> 
> If you have no other reason to use httpd, then don't - just let Tomcat
> serve the static content; this will reduce complexity and improve
> performance.  If you're using SSL, you will probably want to use APR,
> since it's noticeably better at encryption than the pure Java
> implementation.
> 
> Which of the standard, NIO, or APR connectors work best for non-SSL
> traffic depends on your webapps and user load; you'll need to measure your
> environment to find out which is best for you.
> 
>  - 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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-And-tomcat%3A-wich-is-the--best-conenctor-to-use-tp24054482p24054771.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Apache And tomcat: wich is the best conenctor to use

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: lmk [mailto:lotfi65@yahoo.fr]
> Subject: Apache And tomcat: wich is the best conenctor to use
> 
> Im wondering if it's judicious to use apache with ajp connector

If you have no other reason to use httpd, then don't - just let Tomcat serve the static content; this will reduce complexity and improve performance.  If you're using SSL, you will probably want to use APR, since it's noticeably better at encryption than the pure Java implementation.

Which of the standard, NIO, or APR connectors work best for non-SSL traffic depends on your webapps and user load; you'll need to measure your environment to find out which is best for you.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org