2 ms·
In the mean time, I've found it's not too difficult to work around the RAM limitation. I'm working with pretty small servers, and I just use another database (M
by SlyShy 17y ago
In the mean time, I've found it's not too difficult to work around the RAM limitation. I'm working with pretty small servers, and I just use another database (MySQL usually) as a datastore for infrequently accessed data.
- antirez 17y agogood point. People may wonder if this is the same as using a caching solution like memcached or using Redis itself just like a cache. It's very different for a couple of very important reasons: 1) by splitting data by different access priorities there is not to handle caching and invalidation, it's just two DBs for two kind of data, both consistent. 2) It's possible to run complex queries in the Redis side, for instance sorted lists are invaluable to take elements in order even when there are frequent score updates.