-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Fein wrote:
> The benefit is that each pickle represents a complete, high
> level standalone object. Fortunately, we're able to generate unique
> filenames.
That approach is simple but if your machine crashes, you are in big trouble.
Suppose this case:
1. You update several objects in a transaction.
2. Your code starts to dump the new objects to disk. Hopefully you save
the objects using other names, "fsync", and then rename the objects.
You'd better do :-p
3. Your machine crashes, power failure, whatever.
4. Now some of your changes are lost. I can ever have a dangled
reference to unexistent objects.
> The upshot is, this is sufficient for our problem. It'd be nice to use
> the durus interface with this sort of backend... A SMOP, I'm sure. ;)
Ideally the backend interface should be documented, to easily use
multiple "plug-ins" :-p
- --
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/
_/_/ _/_/ _/_/_/_/_/
PGP Key Available at KeyServ _/_/ _/_/ _/_/ _/_/ _/_/
"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.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBQ6HT+plgi5GaxT1NAQLNKQP+OnHoxj+x+uDxJAA2YAJxoPDVFhxCvQRz
s1yN3EiS7i20oFssHL30HsSMDkHTwwEkIPsVbRxH7EDtBzmmFwqrECxWTqICc+sp
CRUSnnlfB2Wf8+Cq//tK/GUgBDLYu3c81nO25YkZ72mN1qJuziaKj0xhZMpm+jeF
rI5De0t0viQ=
=ACw8
-----END PGP SIGNATURE-----