4 ms·
Point "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 compa
by antirez 12y ago
Point "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/