[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Re: Documentation on Connectors needs updating
From: Christopher Schultz <chris () christopherschultz ! net>
Date: 2014-11-28 14:26:21
Message-ID: 5478860D.7090403 () christopherschultz ! net
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
James,
On 11/28/14 5:50 AM, James Green wrote:
> Ref http://tomcat.apache.org/tomcat-8.0-doc/connectors.html
>
> Those new to Tomcat will not know what a "connector" is. I presume
> it's the network protocol used to listen and respond to external
> requests...
>
> For HTTP it is suggested to use AJP clustering as performance is
> higher than that of mod_proxy.
>
> For AJP it talks of use in a single-server environment and how
> it's worse than that of HTTP, then for clustering to use AJP. It
> then says to use JK or mod_proxy with AJP.
>
> As the reader, I have no idea where to sit. First mod_proxy can be
> used but AJP ought to be for performance, yet you can use
> mod_proxy with AJP.
>
> I'm... Puzzled. Since I've not dealt with this beyond getting
> Apache to mod_proxy to the default Tomcat port 8080 before I'm in
> no position to clean this up I'm afraid but it looks like clarity
> is needed.
>
> Just my opinion.
Agreed, there are improvements to be made. Do you have any specific
suggestions (other than "please clarify all this")?
A quick response:
1. mod_proxy supports both HTTP and AJP protocols
2. mod_jk has more features than mod_proxy_ajp
3. Adding a reverse proxy in front of Tomcat will always add overhead
regardless of protocol. If you don't need a reverse proxy for anything
else, don't add one (i.e. remove httpd from the setup).
4. Tomcat can server static content just as quickly as httpd.
Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJUeIYNAAoJEBzwKT+lPKRYEi0QALSfaXKhgPUnrZ+XLjUCH7Vo
y0ZWxs1UjOsq1C+2nA24yHbWO4JZiw2PvKgV3XyfN1AB1Iu/tm6df0ad5ZTksx5t
SK11s6xk8LFH5mNW2pXJVLpHrMA8wOdm6rzcF4i7IPfe5f8YiHA7Cz7w1Zpk/Bd+
7qLvNokJ6Z8/VDxYb6t/IPfKGtsAhWBUOLuTfkmT195Iw8TQ8LVVvancuy8pXcuX
PHnoCiDDVGEun8x8lqCGgPwdL/TE/AzBjQzPKNK2At59gp+DfLy8Yh8/PIXFSCgj
96zyjDa3CZILwuz920FQfT3a2tsRMnrMwJ7SN1xq0uOaihuw9KTX1csLr4c5RSvE
xJkaRQWwD3Pk3+Xa/3xKVBsTxpSbP4kixxA8Dm1Qmd6kGQwNRzHONvSWmf/Z+wNt
TDbZtM11LHH+Z4wd0vsbck0tpSsKZSFLzqGbHnAEz5NOwQKreDwX8xHJek+afBi4
JLTriYmwOwRP6/qphhI5HgneupEYk8/Pcrkk5h+fGek9YNmGc+sj7OBhH+ey+oCQ
ElVcpJ7p6sL6O+6Dq0+adeDQeUN+XK40npzqIF18ayGwHJGXXhku0CYtmZATtbcA
IT1lwnV2x73Im83tCR+5nApICzoV9N+vGm69TGRwqW6cDo92kFaCXE7v/DEbRKFr
dqvsnR8YhDvDcbvevg2M
=VYck
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic