bsddb3 vs zodb

Andrew Kuchling akuchlin at mems-exchange.org
Thu Sep 20 13:48:57 EDT 2001


vincent delft <vincent_delft at yahoo.com> writes:
> I just would like to have a very small DB with concurrent read and write.
> I've a daemon collect data and store them into the DB.
> But I've other processes (not deamon) that will read and write into the same
> DB.

What kind of data are you storing?  The ZODB is appropriate when you
have a lot of objects, will be modifying some unknown number of them,
and don't want to manage each individual change yourself; code can
just touch all the objects it likes, commit the current transaction,
and all the changes get written out.  But if explicitly writing out
the modified objects is fine -- perhaps you only change one at a time
-- then BSDDB3 is probably just as easy.

--amk



More information about the Python-list mailing list