Message info
To:Stanislav Sedov From:Baptiste Daroussin Subject:Re: Switching /etc/*.db from bdb to tinycdb Date:Mon, 7 May 2012 22:39:29 +0200

On Mon, May 07, 2012 at 01:23:25PM -0700, Stanislav Sedov wrote:
> On Wed, 2 May 2012 13:41:15 +0200
> Baptiste Daroussin <> mentioned:
> >
> > Any opinion, ideas, advices on this?
> Did you look at leveldb [1], btw? It seems to be very fast, better supported, and
> support some advanced features that can be useful for other base applications
> (like transactions, custom sorting, snapshots).
> It's distributed under BSD license.
> [1]

Yes I had a look, and it doesn't fit imho:
1/ leveldb is c++ while for all our get*ent functions are in libc and needs to
acees the db files.
2/ leveldb is really huge compare to tinycdb.

Btw: an unexpected gain of cdb is that for services for example the size of the
db is greatly reduces from 2M to 800K here, doesn't matter much but it is cool