Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 89359 invoked from network); 26 Aug 2008 11:10:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 11:10:45 -0000 Received: (qmail 86102 invoked by uid 500); 26 Aug 2008 11:10:36 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 86047 invoked by uid 500); 26 Aug 2008 11:10:36 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 86036 invoked by uid 99); 26 Aug 2008 11:10:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 04:10:36 -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 [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 11:09:37 +0000 X-IronPort-AV: E=Sophos;i="4.32,270,1217822400"; d="scan'208";a="24135380" Received: from unknown (HELO HQ-EX3FE2.ptcnet.ptc.com) ([132.253.201.63]) by irp2.ptc.com with ESMTP; 26 Aug 2008 07:09:58 -0400 Received: from [132.253.48.222] ([132.253.48.222]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 26 Aug 2008 07:09:57 -0400 Message-ID: <48B3E485.4030501@ptc.com> Date: Tue, 26 Aug 2008 06:09:57 -0500 From: Jess Holle User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: mod_proxy_balancer issue References: <48B343EF.2000201@ptc.com> <48B38A10.90907@apache.org> In-Reply-To: <48B38A10.90907@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Aug 2008 11:09:57.0721 (UTC) FILETIME=[467CB490:01C9076C] X-Virus-Checked: Checked by ClamAV on apache.org Mladen Turk wrote: > Jess Holle wrote: >> I want to use mod_proxy_balancer to load balance over a set of ports >> that potentially have Tomcats running on them. >> >> Unfortunately there will generally be a good number of ports where no >> Tomcat is running. Every 'retry' seconds I have a request that takes >> about an extra second for each Tomcat-less port, which is not >> acceptable. >> >> Has there been any thought or effort to provide an option to retry >> dead/unresponsive members in a periodic background thread instead of >> with normal, "live" requests? I am currently very interested in >> adding such an option if none exists, so I'd appreciate any thoughts >> on the matter. > See the August thread on httpd-dev > (Mpm maintenance thread hook) where I proposed > exactly that. Among other things it will be > potentially used with mod_proxy for out-of-the-request > maintenance (Status checks, connection recycle, etc) > > No major objections, so I'm actively working on that. > Also mod_jk in trunk has the watchdog thread > (Apache 2+ only via JkWatchdogInterval) that allows > to maintain the connection pool, and together with > worker.xxx.connection_keepalive it can send CPING/CPONG > packets on regular intervals thus checking the connection > validity unbound from request frequency. > My plan is to add this logic to mod_proxy, but using > mpm hooks. I am quite interested in any progress you make here. Do you have any idea when you might have something testable in the mod_proxy area? I'm quite willing to help, but you're clearly much more familiar with both mod_jk and APR/MPM than I am, so I suspect I'd just get in the way except at the testing level. -- Jess Holle --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org