On Saturday, July 6, 2013 2:26:27 AM UTC-7, Philip Chee wrote: > 1. OpenLDAP Lightning Memory-Mapped Database (LMDB): > > <http://symas.com/mdb/> > > 2. Benchmarks: <http://symas.com/mdb/microbench/> > > 3. SQLite3 ported to use MDB instead of its original Btree code: > > <https://gitorious.org/mdb/sqlightning>
Fwiw, I currently run my own build of Seamonkey using SQLightning on my laptops. I also have a custom build of XDAndroid running on my HTC TouchPro2 using this as well. There's a noticeable improvement in battery life. > > > > > > "LMDB is an ultra-fast, ultra-compact key-value data store developed by > > Symas for the OpenLDAP Project. It uses memory-mapped files, so it has > > the read performance of a pure in-memory database while still offering > > the persistence of standard disk-based databases, and is only limited to > > the size of the virtual address space, (it is not limited to the size of > > physical RAM)." > > > > It looks like LMDB has speed and size advantages on memory constrained > > systems like Android and B2G. > > > > Cons: > > > > 1. Still very new. I have no idea what their code coverage looks like. > > 2. Uses their own OpenLDAP Public Licence (a BSD variant). There are > > claims that this is OSI-approved, however the OSI site itself doesn't > > list it. > > 3. Migration costs (If it ain't broke, don't fix it) not to mention more > > churn. > > > > Phil > > > > -- > > Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com> > > http://flashblock.mozdev.org/ http://xsidebar.mozdev.org > > Guard us from the she-wolf and the wolf, and guard us from the thief, > > oh Night, and so be good for us to pass. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform