W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 2000

Re: Slow logging

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 16 Jun 2000 16:45:34 +0200 (MET DST)
To: Niklas Wiberg <e95_nwi@it.kth.se>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0006161641360.19465-100000@tarantula.inria.fr>
On Fri, 16 Jun 2000, Niklas Wiberg wrote:

> Hi,
> This is mostly a question for the core developers I guess...
> 
> I noticed a comment in org.w3c.jigsaw.http.CommonLogger.java which says:
> * Log the given HTTP transaction.
> * This is shamelessly slow.
> 
> Do you plan to make a faster implementation or do you consider it to be
> "fast enough"?

Well, it is fast enough for "normal" operation, and it can be tuned with
the buffer size and such, but it would be difficult to make it far better
tha now. (Unless having a date thread computing the date every second, to
save some time).
But unless you got a huge number of requests per seconds on very basic
things, you won't notice the logging problem (we feel it only when using
ptester on the same link)
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Friday, 16 June 2000 10:45:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT