W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1996

Re:Request for feature: Logger.sync()

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Thu, 14 Nov 1996 11:35:51 +0100 (MET)
Message-Id: <199611141035.LAA13801@www43.inria.fr>
To: Alexandre Rafalovitch <alex@access.com.au>
Cc: www-jigsaw@w3.org
Alexandre Rafalovitch writes:
 > At 9:03 PM +1000 12/11/96, Anselm Baird_Smith wrote:
 > > > If flush function was present, I could create a log checkpoint resource
 > > > very easily. Or maybe a resource that can flush the buffer every minute
 > > > whether it is full or not (I can see some problems with keeping that
 > > > resource from being purged though.. ).
 > >
 > >This checkpoint resource is in my todo list, it should also (config
 > >attributes) checkpoint the global jigsaw state every N seconds (so
 > >that we use only one thread for all the checkpointing)
 > >
 > >It's so easy to write that I'll write it today :-)
 > >
 > >Anselm.
 > 
 > That reminds me,
 > 
 > I assume you want to use Timer entry to do checkpoint every N seconds.
 > Question is, how are you going to put Timer entry in the first place. If
 > you want to hardcode it, don't!

Well, the problem with the httpd timer object, is that it's already a
bottleneck (and as commiting changes might take long time, you really
want a separate thread to run the code)

 > What about creating startup resource property for Jigsaw that would be
 > called every time Jigsaw is started. It is easy to write something
 > simulating .profile file or Startup folder on Mac and PC as a container
 > resource. That would allow to start timer based events and maybe some other
 > things like agents frameworks. There would be a need for shut down event
 > too, of course.

My idea was to have a Runnable resource, that would be started at
initialize time (but then, as you mention, you would need to hit it
just to start it...)

I'll right the code right now and post it when done, then we'll be
able to have more details discussion. Stay tuned !

Anselm.
Received on Thursday, 14 November 1996 05:36:23 GMT

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