Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 17495 invoked from network); 2 Jan 2009 10:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 10:04:08 -0000 Received: (qmail 4845 invoked by uid 500); 2 Jan 2009 10:03:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 4821 invoked by uid 500); 2 Jan 2009 10:03:58 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 4812 invoked by uid 99); 2 Jan 2009 10:03:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 02:03:58 -0800 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 [212.85.38.174] (HELO popeye.combios.es) (212.85.38.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 10:03:50 +0000 Received: from [192.168.245.129] (p549EA52F.dip0.t-ipconnect.de [84.158.165.47]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id n02A3Q4s018532 for ; Fri, 2 Jan 2009 11:03:26 +0100 Message-ID: <495DE587.1080903@ice-sa.com> Date: Fri, 02 Jan 2009 10:59:35 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@httpd.apache.org References: <1BCA52CF5845E543B4B81AAFEF2AFD7905F243EF@LONSEXC01.gta.travel.lcl> In-Reply-To: <1BCA52CF5845E543B4B81AAFEF2AFD7905F243EF@LONSEXC01.gta.travel.lcl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8826/Fri Jan 2 02:53:32 2009 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Isolating slow and fast connections using apache/modjk Gerhardus.Geldenhuis@gta-travel.com wrote: [...] Not a real answer to your question, just some data. VirtualHost's will use the same pool of Apache threads/children. A VirtualHost is only a different "personality" that one Apache thread/child assumes temporarily to handle a request, depending on the "Host:" header of the request. All threads/children are identical, and can handle any request for any VirtualHost at any one time, and it is not so that there is one separate thread/child per VirtualHost. But a thread/child that at any one time is "impersonating" a given VirtualHost can re-direct a request to a different "worker", or set of workers, and thus possibly a different set of back-end servers (be they different Tomcat instances on the same host, or different Tomcats on different hosts). It is not really clear in your question what you mean by "stack A or B misbehave". I mean that if your "slow" back-end can handle 10 requests per second, and 20 requests come in, what would you really like to happen ? Also, are "fast" and "slow" requests arriving on the same VirtualHost's (meaning hostnames), or is it so that there is one set of VirtualHosts that only receives "fast" requests and another that only receives "slow" requests ? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org