httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: putting mod_scoreboard_send in core?
Date Thu, 14 Mar 2002 02:51:04 GMT
Sander van Zoest wrote:
> On Wed, 13 Mar 2002, Doug MacEachern wrote:
> 
> 
>>in general, the concept is to serialize the scoreboard in such a way
>>that it can transfered over the network via http and "thawed" on
>>another machine.  i'm sure there's a better way to do this than
>>the mod_scoreboard_send thinger.
>>
> 
> I have done this in two ways with tools that are not in the httpd core.
> 
> - have SNMP polls to mod_nsmp(1) and then display it using MRTG, HP OpenView
>   Scotty, or whatever
> 
> - use mod_status_xml(2) and do periodic GET and use XSLT/SVG to merge
>   the content into a pretty graph/HTML page.

Both are cool, but compared to working with raw data they:

1. incur a huge overhead of creating xml or SNMP MIB compared to sending 
raw data.
2. won't let you use the same code one uses to work directly with 
scoreboard image.

How about adding a new mode for mod_status, so it'll send a raw image on 
demand? This will not require a new module and sounds like a good thing 
to do.

The scoreboard in 2.0 is not much different from 1.x so you can still 
freeze the raw data and thaw it later. Of course using the network 
byteorder needs to be added, which could be an option so those wanted 
the fastest retrieve times can still get the native byte ordering.




_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message