[Zope] Trying ZODB with a background in RDBMS

Dieter Maurer dieter at handshake.de
Mon Aug 18 01:33:34 EDT 2008


Chris Withers wrote at 2008-8-16 23:09 +0100:
> ...
>How important is it that they're strictly incremental?
>If it is, you may want to look at the BTrees.Length module.

"BTrees.Length" is unfit for the generation of unique ids, as
it may hand out the same id to concurrent transactions.

Other solution may do this as well but for them a "ConflictError"
may be risen at transaction commit in this case.
The "BTrees.Length"'s conflict resolution prevents such a "ConflictError".


"Btrees.Length" might be used *PROVIDED* that the conflict
is recognized at another place (e.g. by a folder that stores
objects with the generated ids). But that are special cases.



-- 
Dieter


More information about the Zope mailing list