On 22 Nov 2011, at 07:15, Asha K S <a...@adobe.com> wrote:

> Is there any performance comparison document available already between http 
> and AJP

Please don't top-post. Post your questions below the answers so it's
possible to read the conversation without jumping up and down the
page.

The AJP and HTTP connectors serve different purposes - you choose
based on whether you are integrating with Apache HTTPD or not, rather
than on performance.

On performance: 95+% of the performance will come from getting your
app design and code right.

The rest is made up from choosing the right amount of memory and
garbage collector settings, a modern JVM, testing & more testing, not
having resource pools that are too small, etc.

(I'm deliberately ignoring hardware.)

If you're new to this you are extremely unlikely to notice the
difference between the different Tomcat Connectors performance.


p

The answer is: use the NIO implementations if you really need speed from Tomcat.


>
> Thanks,
> Asha
>
> -----Original Message-----
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, November 22, 2011 12:40 PM
> To: Tomcat Users List
> Subject: RE: tomcat http connector
>
>> From: Asha K S [mailto:a...@adobe.com]
>> Subject: RE: tomcat http connector
>
>> My question was mainly regarding which one is recommended
>> for production .
>
> Both, depending on what you need to do.  If you are using httpd for something 
> useful (and just serving static content isn't one of those things), then most 
> people connect Tomcat to it via mod_jk or mod_proxy_ajp.  If you have no 
> specific need for httpd, then use Tomcat directly and avoid the complexity 
> and performance impact.
>
> - 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

Reply via email to