Re: [ZODB-Dev] Possible contributions to ZODB
Gary Poster wrote: On Jan 26, 2006, at 10:16 PM, Gary Poster wrote: I have some code that might be worth putting into ZODB. There are three bits. - Two flavors of persistent queue. [...] I'm a bit surprised there was so little discussion: ZC has needed a persistent queue several times in the past. Whether the queue would be based on what I proposed or on something else someone else has, it seems like it would be a good thing to have. However, with only Julien replying I don't think that's enough to push it further. I'll keep it in zasync until/unless some better option comes around. I think you should push it further and integrate it in a branch of off the ZODB trunk as a first step. I'm willing to help out on this. A persistent queue is something more than necessary on large scale production instances... J. -- Julien Anguenot | Nuxeo RD (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 signature.asc Description: OpenPGP digital signature ___ 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
[ZODB-Dev] Possible contributions to ZODB
I have some code that might be worth putting into ZODB. There are three bits. - Two flavors of persistent queue. Both have a conflict resolution policy to be about as lenient as I could make it. They don't expect to ever hold multiple instances of equivalent values at the same time. One flavor puts all of the contents in a single data structure, while the other divides it up into smaller persistent objects, a la BTree/Buckets. These might go in the persistent package, but tests require ZODB, so I'm not sure. See http://svn.zope.org/Sandbox/poster/zope.zasync/queue.py?view=auto and http://svn.zope.org/Sandbox/poster/zope.zasync/queue.txt?view=auto - Simple, somewhat inefficient approach to pickling methods. I'm not sure where this might go; maybe the persistent package again? See http://svn.zope.org/Sandbox/poster/zope.zasync/methodpickle.py?view=auto and http://svn.zope.org/Sandbox/poster/zope.zasync/methodpickle.txt? view=auto - Hacked version of MappingStorage (barely) appropriate for testing conflict resolution code. It might go in ZODB/tests/utils. I'd need something like it to include the persistent queue tests. See http://svn.zope.org/Sandbox/poster/zope.zasync/tests.py?view=auto Gary ___ 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