Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 28305 invoked by uid 6000); 6 Oct 1998 12:52:48 -0000 Received: (qmail 28297 invoked from network); 6 Oct 1998 12:52:46 -0000 Received: from devsys.jagunet.com (206.156.208.6) by taz.hyperreal.org with SMTP; 6 Oct 1998 12:52:46 -0000 Received: (from jim@localhost) by devsys.jaguNET.com (8.9.1/jag-2.4) id IAA05320 for new-httpd@apache.org; Tue, 6 Oct 1998 08:52:40 -0400 (EDT) From: Jim Jagielski Message-Id: <199810061252.IAA05320@devsys.jaguNET.com> Subject: Re: PATCH scoreboard To: new-httpd@apache.org Date: Tue, 6 Oct 1998 08:52:39 -0400 (EDT) In-Reply-To: <3619CAE0.3D28242C@jrc.it> from "Harrie Hazewinkel" at Oct 6, 98 09:46:40 am X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Status: O But what about host-based vhosts? Having the IP address provides no info at all :/ Or do you mean each vhost is given it's own unique number (eg: vhost #1, vhost #2) and that this is CLEARLY defined in the status printout? This means that somewhere there must be the map info that goes from vhost # to vhost name. This is only done with ExtendedStatus which is known to be a performance hit. I think the string name is worth the additional cycles. Harrie Hazewinkel wrote: > > HI, > > Jim Jagielski wrote: > > > > I must have missed the beginning of this... What's the discussion? > > OK, maybe I was not complete in the first message. I have changed the > vhost name in the scoreboard into a vhost number. My reasons for it > were: > > 1) To save space for the scoreboard. > 2) It even could save some CPU-cycles. Now only a number has > to be put in the scoreboard otherwise a longer string. > The only drawback here is that reading the server-status > it takes a few more CPU-cycles, to convert the number into > the name again. > 3) The SNMP-module implements a numbering scheme as well. Every > vhost gets a number. > > > > > Martin Kraemer wrote: > > > > > > On Mon, Oct 05, 1998 at 10:59:45AM -0600, Marc Slemko wrote: > > > > Why? > > > > > > > > I certainly want the name... > > > To save space in the scoreboard file. When it's displayed (in mod_status) > > > it's reconverted to a string. > > > > > > I'm +0, since the scoreboard only has ~50kB or so for my servers. When > > > you have 100s or 1000s of server children, this may save some (file) space. > > > > > > Martin > > > -- > > > > > > > -- > > =========================================================================== > > Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/ > > "That's no ordinary rabbit... that's the most foul, > > cruel and bad-tempered rodent you ever laid eyes on" > > -- > 0- Harrie Hazewinkel --------------------------------------0 > mailto:harrie.hazewinkel@jrc.it phone:+39+0332786322 > http://sikorsky.ceo.sai.jrc.it/~harrie/ fax:+39+0332785641 > postal: JRC of the E.C. - - Ispra 21020 (VA) Italy > 0----------------------------------------------------------0 > Ik ben Harrie en ik ben 29 jaar en doe SNMP na. MIB, MIB > -- =========================================================================== Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/ "That's no ordinary rabbit... that's the most foul, cruel and bad-tempered rodent you ever laid eyes on"