![](https://secure.gravatar.com/avatar/66974ed16b5ad5293bac2d23005ff9a9.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brett Cannon wrote:
Related but tangential question that we were discussing on the pygr[0] mailing list -- what is the "official" word on a scalable object store in Python? We've been using bsddb, but is there an alternative? And what if bsddb is removed?
Beyond shelve there are no official plans to add a specific object store.
If you are storing million of objects, you'd better use a transactional storage, able to survive diskfulls or code/computer crashes. I will maintain "bsddb" as a separate (downloadable via PYPI) package whatever the fate of bsddb in Python stardard library be. So bsddb is a pretty safe bet, even if you need to install it separately. Compared to sqlite, you don't need to know SQL, you can finetuning (for example, using ACI instead of ACID, deciding store by store), and you can do replication and distributed transactions (useful, for example, if your storage is bigger than a single machine capacity, like my case). If you combine Berkeley DB with Durus, for example, all of this is abstracted and you simply use "regular" python objects. If you use bsddb, please consider to subscribe to pybsddb mailing list. It has pretty low traffic and you can guide bsddb evolution (for example, prioritize Berkeley DB binding additions). - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBSL/hRZlgi5GaxT1NAQIeLgP/XPj32oLFS54QiHjTKrVKf4Bqc/JqFeJl rasN/RM4hiqv3naueB90jPn2eMai3exCQXD85ew7YeMdWluNPEX/crBbhfN7n5M8 qP/GLWCqqDKWhPyvlInghQPoJUyv55TrPLsbUslCNyLAGFb79ETHs8MeaXn7Kx9o +uAc01ifsoA= =Or2m -----END PGP SIGNATURE-----