John Moss said the following on 09/29/2010 07:45 PM:
In general should I use ajp whenever possible? Does it perform better than http?
Yes in general, AJP is a packet oriented and binary protocol supported by both Tomcat and Jetty. Usually binary formats perform better than plain-text format (like HTTP).

Quote:
The *AJP Connector* element represents a *Connector* component that communicates with a web connector via the |AJP| protocol. This is used for cases where you wish to invisibly integrate Tomcat 4 into an existing (or new) Apache installation, and you want Apache to handle the static content contained in the web application, and/or utilize Apache's SSL processing. In many application environments, this will result in better overall performance than running your applications under Tomcat stand-alone using the HTTP/1.1 Connector <http://tomcat.apache.org/tomcat-4.0-doc/config/http11.html>. However, the only way to know for sure whether it will provide better performance for *your* application is to try it both ways.

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to