You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Aggarwal, Ajay" <Aj...@stratus.com> on 2010/12/02 21:56:42 UTC
APR/Native: when to use it?
Couple of APR related questions:
1. Is it always advisable to use APR if tomcat is the main web
server? Does it provide better performance for core tomcat engine or do
you need to write code to take advantage of it? What are the pros and
cons of using it? Are there cons?
2. Will it provide better performance for SSL connectors?
Thanks.
-Ajay
RE: APR/Native: when to use it?
Posted by "Aggarwal, Ajay" <Aj...@stratus.com>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: APR/Native: when to use it?
Posted by Mark Thomas <ma...@apache.org>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: APR/Native: when to use it?
Posted by André Warnier <aw...@ice-sa.com>.
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.Caldarale@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.Aggarwal@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: APR/Native: when to use it?
Posted by David Dabbs <dm...@gmail.com>.
Would it provide better performance for AJP connector processing?
Thanks,
David
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@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.Aggarwal@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: APR/Native: when to use it?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Aggarwal, Ajay [mailto:Ajay.Aggarwal@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org