Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 16518 invoked from network); 21 Jun 2005 18:57:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jun 2005 18:57:04 -0000 Received: (qmail 42557 invoked by uid 500); 21 Jun 2005 18:57:03 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 42538 invoked by uid 500); 21 Jun 2005 18:57:02 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 42515 invoked by uid 99); 21 Jun 2005 18:57:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 11:57:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [207.245.72.101] (HELO mail.liminalflux.net) (207.245.72.101) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 11:57:02 -0700 Received: from localhost (neskaya.liminalflux.net [216.158.52.158]) by mail.liminalflux.net (Postfix) with ESMTP id CE95E3F6CA for ; Tue, 21 Jun 2005 14:56:58 -0400 (EDT) Received: from mail.liminalflux.net ([216.158.52.158]) by localhost (neskaya.liminalflux.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04779-03 for ; Tue, 21 Jun 2005 14:56:53 -0400 (EDT) Received: from [10.1.0.17] (firewall.meritind.com [141.151.66.54]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.liminalflux.net (Postfix) with ESMTP id E397C3F679 for ; Tue, 21 Jun 2005 14:56:52 -0400 (EDT) From: Malcolm J Harwood To: dev@perl.apache.org Subject: Re: Scoreboard plans? Date: Tue, 21 Jun 2005 14:56:50 -0400 User-Agent: KMail/1.7.2 References: <91e18370cbc7e55b6bd3366543a6b1ab@sergeant.org> <200506211143.09355.mjhlist-modperl@liminalflux.net> <0f8d3414cd025d4732338988536df41e@sergeant.org> In-Reply-To: <0f8d3414cd025d4732338988536df41e@sergeant.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506211456.51113.mjhlist-modperl@liminalflux.net> X-Virus-Scanned: by amavisd-new at liminalflux.net X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tuesday 21 June 2005 02:28 pm, Matt Sergeant wrote: > >> I see in the docs there's a stub to return $c->sbh - a scoreboard > >> handle. Are there any plans to implement this any time soon? > > Which docs? > Apache2::Connection - right at the end. Hrm. I don't know anything about it. Stas might (but he's off travelling the world at the moment). > > The update to Apache::Scoreboard should go out later this week (RCs > > available if you'd like to test). > I assume it's no different - I already got it to work with a few simple > changes. There's a few non-rename related fixes, but otherwise no, it's not a big change. (Though moving it to the Apache2 namespace might make sense at this point). > >> However the entire API is read-only. Is there any way to write the > >> scoreboard? > > I don't see why it wouldn't be possible. It's just not exposed through > > the current Apache::Scoreboard API, as no one seems to have ever needed > > it. If you want to submit a patch to Apache::Scoreboard feel free. :) I'm > > not sure what the best approach to providing a writable API would be here. > I'm guessing just make the getters also setters. Plus it'd have to be > extended to be able to provide the current ScoreboardWorkerScore. I'm > wondering if that's the same as $c->sbh. I'm not sure if it makes sense to have it in Apache2::Connection, as the WorkerScore is process/thread based rather than connection based. (It does have connection specific information in it, but it also has more long lived data). It should be relatively easy to add such to Apache::Scoreboard though. -- "How wonderful it is that nobody need wait a single moment to improve the world." - Anne Frank, Diary of a Young Girl --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org