On 01/02/2015 13:18, Howard Chu wrote:
> People may say I'm biased since I'm the author of LMDB but I have only
> ever posted objective, reproducible comparisons of LMDB to other
> alternatives. http://symas.com/mdb/#bench
> 
> If your typical record sizes are smaller than 1KB and you have more
> writes than reads, LMDB may be a poor choice. If you need to support
> large DBs on 32-bit processors LMDB will be a bad choice.

I had come across LMDB myself some time ago and I remember thinking that
it looked like a very good fit for implementing IndexedDB. I didn't
really dig too much into it as my knowledge of our storage code is
limited and I know I wouldn't have the time to try and hack together a
prototype. I think it would be pretty interesting though.

> If you have heavy reads, LMDB may be an ideal choice. Nothing else
> matches it for small footprint, nothing else matches it for reliability,
> and nothing else matches it for read performance.

It sounds like it would be perfect for practically all the IndexedDB
databases I've come across while working on FxOS.

 Gabriele

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to