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 68A58F80 for ; Fri, 24 Aug 2012 22:25:18 +0000 (UTC) Received: (qmail 78231 invoked by uid 500); 24 Aug 2012 22:25:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78168 invoked by uid 500); 24 Aug 2012 22:25:15 -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 78159 invoked by uid 99); 24 Aug 2012 22:25:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 22:25:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fjanon@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 22:25:09 +0000 Received: by qcab12 with SMTP id b12so1826361qca.18 for ; Fri, 24 Aug 2012 15:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=r8yFxs3cXzZ56ZF+oMui0U1ECNtC8LoRYAk1kHCXvEM=; b=Brm0XqnaR+MRX1zn/pBP/aAEtWOuCGGWU2OZcDwEZTrkLo5FtlwxJNPNiFlPmE+7wZ UG+1eSxiuAsHUVtpZ4NZ6mZxkFoce3q6UZ85+ay68/n1wRYGwF23K+1TQBJCAwDrJ//D YIkbFUbi+TX/N+vZ0prSUqD0jeaOoR+z/55vlcSR7FZ2ajTJZfjDneffd5hZKQuGZROW +L/ZuoiIrmtTU8GlyRWSPQIXWhOCDZWbXKW0yRtxMMXyc4hmzzWvai2MPHnkDZI2Y+RH Z6AAoxorQYW0aREgS/rwACWkwfJWDkEvnKY+N8Y4aUXrCE48yKkKnQL1o4zXCEjjV3Wo l+jw== Received: by 10.224.185.148 with SMTP id co20mr11409334qab.4.1345847088688; Fri, 24 Aug 2012 15:24:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.219.142 with HTTP; Fri, 24 Aug 2012 15:24:28 -0700 (PDT) In-Reply-To: <5037D8AA.2030509@christopherschultz.net> References: <9283_1345458349_503210AD_9283_1227_1_50336231.4030205@yahoo.es> <5033A28B.6000500@christopherschultz.net> <5034A0A9.6050909@yahoo.es> <5035009A.2030602@christopherschultz.net> <50379C32.3030404@christopherschultz.net> <5037D8AA.2030509@christopherschultz.net> From: Fred Janon Date: Sat, 25 Aug 2012 00:24:28 +0200 Message-ID: Subject: Re: [OT] redirecting people to maintenance mode To: Tomcat Users List Content-Type: multipart/alternative; boundary=485b397dd697a4ae8b04c80a71e2 --485b397dd697a4ae8b04c80a71e2 Content-Type: text/plain; charset=ISO-8859-1 Thanks for all of that, Chris. Cheers, Fred On Fri, Aug 24, 2012 at 9:40 PM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fred Janon wrote: > > Excellent, thanks for all these suggestions. I never really > > understood why Tomcat standalone would be that much slower than > > something else serving files like you pointed it out. So good > > things to look at and try out. thanks for the SSL pointer as well, > > I need it. > > Since you are using SSL, I would highly recommend using the APR > connector with both sendFile and SSL enabled. Note that you have to > completely change your SSL certificate configuration. IMO, OpenSSL > configuration is *much* easier because you don't have to deal with the > nightmare that is Java's 'keytool' with all the aliases and odd > formats and stuff. Give me PEM-encoded concatenated keys any day of > the week. > > As always, benchmark your own environment and don't let anybody else > tell you what is or is not faster. I'm fairly confident you'll see a > significant performance improvement when switching to APR for both > static content (in general) and non-static content (over SSL). > > Good luck. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlA32KoACgkQ9CaO5/Lv0PBEbwCgpok8Jnns7LWMrDpcMFIiDff4 > f1QAoKBP4s9DLfm4cVCgSxnGc44o7WGT > =5wIj > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --485b397dd697a4ae8b04c80a71e2--