3 ms·
Point (2) makes me think of LMDB. Have you looked into it much? I wonder if it would be an interesting storage substrate for a threaded Redis.
by jdub 12y ago
Point (2) makes me think of LMDB. Have you looked into it much? I wonder if it would be an interesting storage substrate for a threaded Redis.
- antirez 12y agoPoint "2" better applies when the storage substrate is memory and operations are O(1) or logarithmic, because in that case, the time to serve the query is comparable small compared to the time needed to process the reply and send back the response. With an on-disk storage, I would go for a classic on-disk database setup where different queries are served by different threads.
- hyc_symas 12y agoLMDB beats all other "classic" on-disk databases for read performance. It also happens to beat all other in-memory systems for read performance too, since its reads require no locks. http://symas.com/mdb/memcache/ http://symas.com/mdb/memcache/ http://symas.com/mdb/inmem/ http://symas.com/mdb/inmem/ http://symas.com/mdb/ondisk/ http://symas.com/mdb/ondisk/