[ZODB-Dev] adding mount points

2007-12-18 Thread Tarek Ziadé
Hi, I am working on a project that needs to do mass hosting of zope sites. I would like to have several site per zope instance, and to make a zodb mount point for each new site created to ease their maintenance. Is there a way to dynamically load new mount points on a ZODB to avoid relaunching

Re: [ZODB-Dev] Speedy RelStorage/PostgreSQL

2008-01-30 Thread Tarek Ziadé
://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev -- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com

[ZODB-Dev] How to avoid ConflictErrors in BTrees ?

2008-02-01 Thread Tarek Ziadé
Hello, I have a simple use case in a Zope site: We had to manage massive object creation, so we set up Btrees. Users are creating a lot of objects in a single Btree. They are never working on the same object, just adding new objects. This leads to conflict errors when the pace of creation is

Re: [ZODB-Dev] How to avoid ConflictErrors in BTrees ?

2008-02-01 Thread Tarek Ziadé
)]) return (((tuple(res),),),) Is this the right way to do it ? Andreas Jung-5 wrote: --On 1. Februar 2008 03:03:53 -0800 Tarek Ziadé [EMAIL PROTECTED] wrote: Since BTrees are written in C, I couldn't add my own conflict manager to try to merge buckets. (and this is way over my head

Re: [ZODB-Dev] How to avoid ConflictErrors in BTrees ?

2008-02-01 Thread Tarek Ziadé
Jim Fulton wrote: ... Since BTrees are written in C, I couldn't add my own conflict manager to try to merge buckets. (and this is way over my head) That doesn't really matter, because conflict-resolution can only operate on one object at a time. Is the class I have shown to