durusmail: durus-users: A silly question
A silly question
2005-12-15
2005-12-15
2005-12-15
2005-12-15
Re: A silly question
2005-12-15
2005-12-15
2005-12-16
2005-12-16
Re: A silly question
A silly question
Jesus Cea
2005-12-16
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Binger wrote:
> The easiest thing to do would be to use the exact same record format
> that FileStorage does, and use the same packing strategy.
> You won't need to run it very frequently because your storage won't have
> any accumulation of obsolete versions of instances.  The only growth
> will be from abandoned or lost instances, and that amount of space
> would, I expect, tend to be small.

I agree.

I'm worried about the memory usage during the garbage collection. I
would need memory proportional to live+dead objects counts, and I don't
like that.

> I think this also makes the BerkeleyDB version of the Storage
> very simple to implement, since you just store the mapping of
> oids to pickles, pushing them out transactiionally.

That's the idea :-).

- --
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

iQCVAwUBQ6I+g5lgi5GaxT1NAQLoeQQAnFax6ErG6qlSh/Xh6fkhxL+rnia+qCkU
f943W/FfkP6J7Hobp1iE4SZbmtd26CtzfbvhoRp8ZJvK5OaN7eNzDEZ4i5eLB3jh
O+yuJcVffRxpEnzD01E0ZDJxH+FsKC8QQQvqJQ9+JunonHYzAfvGwZJWgB+0+wJs
RzbrDEYFX+k=
=YYaq
-----END PGP SIGNATURE-----
reply