[ZODB-Dev] How to update an object in a multithreading application?
Sebastian Wain
sebastian.wain at nektra.com
Mon Mar 19 19:59:24 UTC 2012
>Le lundi 19 mars 2012 18:57:53, Alan Runyan a écrit :
>> if your increment a counter its best the counter be of type,
>> BTrees.Length
>Depends on the usage. If generated numbers are intended to become unique
identifiers, a BTree.Length is definitely not >what he wants.
>Conflicts are good. In ZODB, that is.
Indeed I want to sync the same BTree between threads. I am adding
persistence and acknowledgement to the Python queue. Is that expensive in
terms of performance?
Thanks,
srw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20120319/3a2e0123/attachment.html>
More information about the ZODB-Dev
mailing list