durusmail: durus-users: Re: Anybody willing to try BerkeleyDB Storage?
Anybody willing to try BerkeleyDB Storage?
2006-03-16
2006-03-16
Re: Anybody willing to try BerkeleyDB Storage?
2006-03-19
2006-03-20
2006-03-20
2006-03-20
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
Re: Anybody willing to try BerkeleyDB Storage?
Jesus Cea
2006-03-21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Wilkinson wrote:
> * Packing to remove un-referenced records is the part that I spent most
> time thinking about and didn't come up with a satisfactory solution.

No surprise here. Garbage Collection is a difficult issue :-).

> I'd focus on just the on
> disk index of individual records so maybe somehow it can be made that
> such that it just doesn't need to be read completely on start-up.

If the index record were stored ordered, I guess you could do a binary
search (with a cache) of the index directly on disk.

I thought about that, but in my case the garbage collection strategy in
current DURUS was a "showstopper", specially if the objects are BIG and
your store size is multigigabyte. So I rather prefered to kill two birds
with a single store, so I do the berkeleydb storage engine.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea@argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
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.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRB/eLplgi5GaxT1NAQJmFwP8DXc+95Xrf/IejOr40mKUHACg6RGta7Ha
4N5J5cZXK1q7nsEVAvCy2HI68gW7tQvXubG7TklHteD2aiagFg3bBa5r6rldZOs+
2T25a+vkT3b8U6u/Q0zNGfWcvK+QgIjxDoxiPfRVu9DVe7GIv6y35B4cDr5NJyAG
xb4R8ADkzJE=
=YaOX
-----END PGP SIGNATURE-----
reply