Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12227C75E for ; Fri, 28 Nov 2014 17:28:58 +0000 (UTC) Received: (qmail 14078 invoked by uid 500); 28 Nov 2014 17:28:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14011 invoked by uid 500); 28 Nov 2014 17:28:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 14000 invoked by uid 99); 28 Nov 2014 17:28:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2014 17:28:48 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [206.46.173.21] (HELO vms173021pub.verizon.net) (206.46.173.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2014 17:28:22 +0000 Received: from Christophers-MacBook-Pro.local ([108.45.175.147]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NFR00FNS6RTIE30@vms173021.mailsrvcs.net> for users@tomcat.apache.org; Fri, 28 Nov 2014 08:26:18 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=AKpDk7pY c=1 sm=1 tr=0 a=kGrSHu6quLw/6gIdWZU6jA==:117 a=0Jzs0ny25Y0A:10 a=IkcTkHD0fZMA:10 a=-57I09spAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=5y4faFyK3SkA:10 a=mV9VRH-2AAAA:8 a=j4nzMFrpAAAA:8 a=tH9JHkkJCa3GOR8g2SMA:9 a=QEXdDO2ut3YA:10 a=lzumw_hM6okA:10 Message-id: <5478860D.7090403@christopherschultz.net> Date: Fri, 28 Nov 2014 09:26:21 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-version: 1.0 To: Tomcat Users List Subject: Re: Documentation on Connectors needs updating References: In-reply-to: Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----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