W3C home > Mailing lists > Public > www-talk@w3.org > May to June 1995

Re: What's next after the common log format?

From: Darren New <dnew@sgf.fv.com>
Date: Thu, 29 Jun 1995 09:44:44 +0100
To: Andrew Payne <payne@openmarket.com>
Cc: Brian Behlendorf <brian@organic.com>, www-talk@www10.w3.org
Message-Id: <Pine.3.89.9506290945.C198-0100000@sgf.fv.com>
> We've actually started work in the other direction, where the server might 
> accumulate the logging information for some user-specified period of time 
> (several seconds, typically), and dump the information in a single I/O 
> operation.  You can still do all of the fancy stuff about displaying 
> response times, etc., but they'll be a few seconds behind the curve.

Actually, I just finished code to do such a thing as part of a
microtransaction accumulator. It maintains numerous small databases and
logfiles in memory, dumping them out periodically, talking to all the web
processes (or whatever) over sockets. (More efficient and reliable that
trying to make file locking work properly, plus it works with replicated
servers.)

It's not hard... it's essentially what Syslog does.  If you worry more 
about the API than the file formats (or at least divorce the two) you'll 
be much better off when you want to replicate web servers or such stuff.
   --Darren
Received on Thursday, 29 June 1995 09:48:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:17 GMT