On Wed, Dec 30, 2009 at 2:20 AM, Niklas Edmundsson <[email protected]> wrote:
> On Tue, 29 Dec 2009, William A. Rowe Jr. wrote: > > How about increasing worker_score::request? >>> This was originally proposed in Oct 2007. >>> >>> http://mail-archives.apache.org/mod_mbox/httpd-dev/200710.mbox/%[email protected]%3e >>> >>> I know this is an old topic, but I just ran into this again. Any chance >>> we could see something like this make it in the 2.3.X branch? I did not >>> see a reply on this. >>> >> >> Wouldn't it make sense to pack multi-ascii fields in a single text block? >> Folks rarely use the entire 64 characters of the remote machine or vhost >> name. >> > > It probably would, although I suspect that it would break quite a few > modules, or? If we want to do that now's the time though. > I think most modules worked around the scoreboard limitations, so likely would not see any impact. However, I still think that increasing the thing from 64 to 256 bytes would > solve most peoples problems without taxing memory too much. If noone has the > time to do the elegant fix, I would opt for at least doing the easy kludge > for now... > Right and most modules that would make use of this seem to have gone the route of doing their own accounting by hooking into log transaction hook and storing that data out of bound. None of mod_telemetry, mod_bw, etc. seem to share this data and almost all duplicate the scoreboard data. It is understandable that they all need a place to store their specific accounting details, but you'd hope they would be able to reuse and key off of the scoreboard for things in common. Instrumenting and monitoring solutions also could use access to this data. Ideally we would provide r->notes type functionality for modules to use in respect of the scoreboard while storing the same size fields of request_rec that are commonly used by all these types of modules. -- Sander
