Re: APR/Native: when to use it?
David Dabbs wrote: Would it provide better performance for AJP connector processing? Not at all. The comparison you have been pointed to refers to HTTP connectors. AJP is another (different) protocol, and has a different connector. Thanks, David -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, December 02, 2010 3:09 PM To: Tomcat Users List Subject: RE: APR/Native: when to use it? From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: APR/Native: when to use it? Is it always advisable to use APR if tomcat is the main web server? No. Does it provide better performance for core tomcat engine or do you need to write code to take advantage of it? That's not really an or situation. Depending on your circumstances, it may or may not provide better performance (also dependent on what you happen to mean by performance). You never need to write code to take advantage of it. What are the pros and cons of using it? Are there cons? Look here: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Connector%20Compari son Will it provide better performance for SSL connectors? Pretty much always. - 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 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR/Native: when to use it?
On 03/12/2010 09:35, André Warnier wrote: David Dabbs wrote: Would it provide better performance for AJP connector processing? Not at all. The comparison you have been pointed to refers to HTTP connectors. AJP is another (different) protocol, and has a different connector. The AJP connector comes in two flavours. BIO and APR. Is there a performance difference? Yes. What will it be in your environment? No idea, you;'ll have to test it. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR/Native: when to use it?
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: APR/Native: when to use it? Is it always advisable to use APR if tomcat is the main web server? No. Does it provide better performance for core tomcat engine or do you need to write code to take advantage of it? That's not really an or situation. Depending on your circumstances, it may or may not provide better performance (also dependent on what you happen to mean by performance). You never need to write code to take advantage of it. What are the pros and cons of using it? Are there cons? Look here: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Connector%20Comparison Will it provide better performance for SSL connectors? Pretty much always. - 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
RE: APR/Native: when to use it?
Thanks for your quick response, but I still don't know when should I use APR. That comparison table doesn't help me much (perhaps my ignorance here). -Original Message- Is it always advisable to use APR if tomcat is the main web server? No. Does it provide better performance for core tomcat engine or do you need to write code to take advantage of it? That's not really an or situation. Depending on your circumstances, it may or may not provide better performance (also dependent on what you happen to mean by performance). You never need to write code to take advantage of it. What are the pros and cons of using it? Are there cons? Look here: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Connector%20Com parison Will it provide better performance for SSL connectors? Pretty much always. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org