Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70832 invoked from network); 24 Sep 2007 10:51:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2007 10:51:20 -0000 Received: (qmail 23749 invoked by uid 500); 24 Sep 2007 10:50:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23723 invoked by uid 500); 24 Sep 2007 10:50:59 -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 23712 invoked by uid 99); 24 Sep 2007 10:50:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 03:50:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [82.70.116.177] (HELO mail.melandra.com) (82.70.116.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 10:51:00 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Basic question - Ingterating Tomcat with Apache X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Mon, 24 Sep 2007 11:50:36 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Basic question - Ingterating Tomcat with Apache Thread-Index: Acf9DXMcb72+io4YTOa5MeVW7pZuSwBiXzQg References: <9A6D0119C63B7940B21E6A01841BBB77037BBC0E@USA0300MS04.na.xerox.net> <20070922134021.zdyhe2onkck4goks@webmail.ema.fr> From: "Peter Crowther" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org > From: albrecht andrzejewski [mailto:albrecht.andrzejewski@ema.fr]=20 > I think tomcat stand alone is > -> easier to deploy. > And that's all. There are also fewer things to fail, and a smaller learning curve for your system administrators (if they don't already know Apache httpd and the JK connector). > I think apache as a front end is a more flexible and secure solution. > -> if apache fails, tomcat is not affected ... but is inaccessible. This is a failure mode you don't have with just a Tomcat. > -> if tomcat fails, apache can redirect request to another tomcat True. How often do you expect this failure mode? > -> when you serve static content juste like image of your=20 > site and all =20 > static text part , javascripts, etc ( i mean... dynamic content is =20 > often just an hour ticking at the top of the page!) apche can better =20 > handle the request and serve them quickier (with cache). There have been a couple of benchmarks on this, most recently by Peter Lin (available at http://tomcat.apache.org/articles/benchmark_summary.pdf). They showed that Tomcat 5.0 and higher are sufficiently efficient at serving static content that you'll saturate your network before you run out of resources on the server. Peter saturated a 100Mbit/s LAN connection. > Am i wrong ? As i have currently nothing pre-installed on it... and =20 > it would be fine to know what you are thinking about it. You seem to =20 > be pro vanilla tomcat... But just let us know WHEN pure=20 > tomcat has to be choosen ! Vanilla Tomcat never *has* to be chosen. I like systems with fewer moving parts - they're generally simpler to manage, more robust and easier to debug when they go wrong. And security-wise, I'd much rather put a proper firewall in front of a web server than rely on httpd to catch all the possible attacks! You may have other reasons to add httpd. Unless you have very slow boxes and very fast network connections, speed of serving static content is not a valid reason. I'd never assume httpd is any more secure than Tomcat, so security (to me) is not a valid reason. You may want to put httpd in front, simply so that you can load-balance and scale Tomcats as your application grows - that's a valid reason if you don't want to use a hardware load-balancer, and plenty of folks load-balance that way, including some quite large sites with quite demanding SLAs. Just make sure you know what you're gaining by adding the extra system! - Peter --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org