3 ms·
Redis is slower than LMDB? This sounds very hard to believe, since redis operates purely in memory, and all the data structures are designed with that in mind.
by enitihas 7y ago
Redis is slower than LMDB? This sounds very hard to believe, since redis operates purely in memory, and all the data structures are designed with that in mind. LMDB does disk writes for every key value set operation. So I find it hard to believe redis is slower than LMDB
- james_s_tayler 7y agoRedis writes it's replication log to disk.
- enitihas 7y agoThat happens on a configured time interval, not on every request unlike lmdb.
- kjeetgill 7y agoI don't know for sure, but I'd imagine it's dominated by network. Which kinda the point of the article: benchmarks need detail and context to interpret well.