Re: [ZODB-Dev] RFC: External Garbage Collection
On Nov 6, 2008, at 5:46 PM, Jim Fulton wrote: I've posted a new proposal: http://wiki.zope.org/ZODB/ExternalGC That addresses multi-database garbage collection and can also be useful in other situations. Comments are welcome. Absent objections, I may start working on this fairly soon. I've updated the proposal. I've simplified the API quite a bit. I realized that we didn't need the methods for iterating over objects and object revisions, since we can use the existing storage iteration API and because, for FileStorage, simply iterating over the storage will more efficient. (It's possible that, at some time in the future, there could be an advantage for an iterator for oid/tid pairs that returns values in an order defined for the storage.) Jim -- Jim Fulton Zope Corporation ___ 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
Re: [ZODB-Dev] RFC: External Garbage Collection
Jim Fulton wrote: I've posted a new proposal: http://wiki.zope.org/ZODB/ExternalGC That addresses multi-database garbage collection and can also be useful in other situations. Comments are welcome. I assume this would fix the following bug: http://bugs.launchpad.net/zodb/+bug/192960 ? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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
Re: [ZODB-Dev] RFC: External Garbage Collection
On Nov 7, 2008, at 1:40 AM, Christian Theune wrote: On Thu, 2008-11-06 at 17:46 -0500, Jim Fulton wrote: I've posted a new proposal: http://wiki.zope.org/ZODB/ExternalGC That addresses multi-database garbage collection and can also be useful in other situations. Comments are welcome. Absent objections, I may start working on this fairly soon. +1 as far as I can see. One little thing: I find the interface a bit of a misnomer as all functions are IMHO useful on their own. The fact that you're going to instrument them to implement GC might not need to go into that interface name. shrug I'm seriously contemplating a ZODB 4. That might be an opportunity collapse a number of the storage interfaces into a new IStorage. Jim -- Jim Fulton Zope Corporation ___ 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
Re: [ZODB-Dev] RFC: External Garbage Collection
On Fri, 2008-11-07 at 09:15 -0500, Jim Fulton wrote: On Nov 7, 2008, at 1:40 AM, Christian Theune wrote: On Thu, 2008-11-06 at 17:46 -0500, Jim Fulton wrote: I've posted a new proposal: http://wiki.zope.org/ZODB/ExternalGC That addresses multi-database garbage collection and can also be useful in other situations. Comments are welcome. Absent objections, I may start working on this fairly soon. +1 as far as I can see. One little thing: I find the interface a bit of a misnomer as all functions are IMHO useful on their own. The fact that you're going to instrument them to implement GC might not need to go into that interface name. shrug Thought so. :) I'm seriously contemplating a ZODB 4. That might be an opportunity collapse a number of the storage interfaces into a new IStorage. W00t. -- Christian Theune · [EMAIL PROTECTED] gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development signature.asc Description: This is a digitally signed message part ___ 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
Re: [ZODB-Dev] RFC: External Garbage Collection
On Thu, 2008-11-06 at 17:46 -0500, Jim Fulton wrote: I've posted a new proposal: http://wiki.zope.org/ZODB/ExternalGC That addresses multi-database garbage collection and can also be useful in other situations. Comments are welcome. Absent objections, I may start working on this fairly soon. +1 as far as I can see. One little thing: I find the interface a bit of a misnomer as all functions are IMHO useful on their own. The fact that you're going to instrument them to implement GC might not need to go into that interface name. Christian -- Christian Theune · [EMAIL PROTECTED] gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development signature.asc Description: This is a digitally signed message part ___ 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