-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony,

On 3/1/2011 2:49 PM, Tony Anecito wrote:
> I understand it is from the core AWS but the important thing for me was to 
> eliminate AJP because in a AWS standalone I had used to communicate AJP.
> When I enabled ARP I did not have to do anything with AJP.
> 
> So does ARP communicate with the servlet conatiner in a more efficiant manner?

(Presuming s/ARP/APR/g)

APR is just a connector strategy, like the BIO or NIO connectors. There
are APR connectors for both HTTP and AJP.

If you're saying that you switched from BIO/AJP to APR/HTTP, I'm not
surprised you experienced a performance improvement: you're eliminated
the web server altogether.

If instead you are still using a web server out front and using HTTP
instead of AJP to communicate with the back-end, I'd be interested in
your configuration, environment, and observed performance gain.
Generally speaking, use of AJP is slightly faster than proxied HTTP but
there are certainly some trade-offs (like lack of encrypted
communication support for AJP).

APR handles connections differently than the Default BIO connector. See
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Connector%20Comparison
for notes about the relative capabilities of the connectors (for HTTP).
There is
no NIO connector for AJP, but I would imagine that the comparison between
the other two HTTP connectors is applicable to the AJP connectors as well.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1tWj0ACgkQ9CaO5/Lv0PBNLwCgmpEjzeX8lxu2+ac7yxP5BV95
9eYAn0SkImgJxKoqg15rqgk0pCBs2e6L
=y6g9
-----END PGP SIGNATURE-----

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

Reply via email to