We have to cache some data to improve the performance. The application will be deployed in multiple clusters. Which cache will be better to use here: Redis or Memcache?
Vaibhav Gargs wrote:We have to cache some data to improve the performance. The application will be deployed in multiple clusters. Which cache will be better to use here: Redis or Memcache?
Do you want to persist the cached data in storage as well. If yes, i think Redis is the option. Memcache is pure cache, it doesn't provide feature of persisting data.
Why someone will want to persist the data from cache to data store? In general, isn't it other way round, we get the data from data store and add it to cache.