berkeley db in concurrent environment

Xie&Tian mftian at gmail.com
Fri Nov 26 03:41:25 EST 2010


Hi list,

I'm using bsddb.dbshelve in a conservative and concurrent environment
(python version 2.4). I'm wondering if the dbshelve class methods are
atomic. That is, if one process keeps writing data to one database file and
another process keeps reading from it, will the reading process get
incomplete(corrupted) data? Many thanks.

Regards
-- 
Luyun Xie
谢路云
http://magefromhell.blogspot.com/
(http://blog.hellmage.info/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101126/b15d05f6/attachment.html>


More information about the Python-list mailing list