I won't be using ZDaemons heartbeat for ZScheduler
At 01:14 28/08/99 , Michel Pelletier wrote:
Getting back to to original idea for this whole thing is testing. An internal heartbeat system is not such a bad thing, in fact there is one but I don't think it's documented anywhere, it's a hack with zdaemon anyway. I think this could be handy.
Two problems with using this: 1) It prints a damn annoying 'tha-thump' every heartbeat. Fixable, I know. 2) It only runs on Unix. ZDaemon is not used on NT (z2.py line 213: if sys.platform=='win32': Zpid='') -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
On Mon, 30 Aug 1999, Martijn Pieters wrote:
Two problems with using this:
1) It prints a damn annoying 'tha-thump' every heartbeat. Fixable, I know.
2) It only runs on Unix. ZDaemon is not used on NT (z2.py line 213: if sys.platform=='win32': Zpid='')
#2: the cross platform issue could be avoided by using the timeout ability of select() (which NT has, right?) and moving the heartbeat implementation into this area of the code. ------- Jordan B. Baker -- jbb@spyderlab.com weaving the web @ http://www.spyderlab.com
This is a note to the Zope dev team. Perhaps I'm out of place suggesting this, but theres an extremely good indexing package, which is open source (i think), and is available, called MG. Theres a book that goes with it called "Managing Gigabytes" co-authored by an old university lecturer of mine, Allistair Moffat. the book and package can be found at http://www.cs.mu.oz.au/mg/ The focus of the package, and the book, is in creating highly efficient compressed indexes and data. They use Perfect Hashing for their indexes. Their indexing technique is geared to creating static indexes, and they rebuild the Perfect Hash tables and the compression dictionary once in a while. I note from reading through the ZCatalog code that the authors have some performance concerns, and were wondering where to go next. You could do worse than taking a look at the MG code and/or book.
At 05:04 01/09/99 , Jordan B. Baker wrote:
On Mon, 30 Aug 1999, Martijn Pieters wrote:
Two problems with using this:
1) It prints a damn annoying 'tha-thump' every heartbeat. Fixable, I know.
2) It only runs on Unix. ZDaemon is not used on NT (z2.py line 213: if sys.platform=='win32': Zpid='')
#2: the cross platform issue could be avoided by using the timeout ability of select() (which NT has, right?) and moving the heartbeat implementation into this area of the code.
I have my own ideas about implementing this. I am working on it, it's just that my darn boss wants me to do some work for customers as well =). Michel, I resurrected the Scheduler code from the CVS and I had a good long hard look at that as well. Thanks for the tip. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (3)
-
Jordan B. Baker -
Martijn Pieters -
morton@dennisinter.com