Matt Hamilton wrote:
David Binger <dbinger <at> mems-exchange.org> writes:


On Nov 2, 2007, at 6:20 AM, Lennart Regebro wrote:

Lots of people don't do nightly packs, I'm pretty sure such a process
needs to be completely automatic. The question is weather doing it in
a separate process in the background, or ever X transactions, or every
X seconds, or something.
Okay, perhaps the trigger should be the depth of the small-bucket tree.

That may just end up causing delays periodically in transactions... ie delays
that the user sees, as opposed to doing it via another thread or something.  But
then as only one thread would be doing this at a time it might not be too bad.

-Matt

ClockServer sections can now be specified in zope.conf. If you specify them with a period of say 10 mins (or even 2) then the queue should never get too large, and the linear search time is not a problem as n is small.

Essentially you end up with a solution very similar to QueueCatalog but with the queue being searchable.

The pain is then in modifying all of the indexes to search the queue in addition to their standard data structures.

Laurence

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to