3 ms·
so far i've been using rocksdb for this use case, is there any benchmark that would compare both dbs ?
by guybedo 8y ago
so far i've been using rocksdb for this use case, is there any benchmark that would compare both dbs ?
- danielmorozoff 8y agoWe use rocks in production and research and have used LMDB for research purposes. Here's a benchmark: https://www.influxdata.com/blog/benchmarking-leveldb-vs-rocksdb-vs-hyperleveldb-vs-lmdb-performance-for-influxdb/ https://www.influxdata.com/blog/benchmarking-leveldb-vs-rock... I think rocks gives better read+ write performance together whereas lmdb is heavily skewed to read performance in our experience -- which is mirrored by the benchmark.
- hyc_symas 8y agoIt's not as clearcut as that. RocksDB gives better write performance up to record sizes of about 1/4 page size. Above that size, LMDB write performance is superior. http://www.lmdb.tech/bench/ondisk/ http://www.lmdb.tech/bench/ondisk/ Also the InfluxDB blog post is missing quite a lot of discussion that originally occurred here https://disqus.com/home/discussion/influxdb/benchmarking_leveldb_vs_rocksdb_vs_hyperleveldb_vs_lmdb_performance_for_influxdb/ https://disqus.com/home/discussion/influxdb/benchmarking_lev...
- danielmorozoff 8y agoAwesome did not know this thanks!