We\'re currently looking for the most suitable solution for accessing critical data on a distributed system, and we\'re considering whether to use in memory caching, versus a ce
Redis is a great option for centralized cache. It's fast and performs great. We are using it to store TBs of data.
I don't find any problem in going for a centralized cache using Redis.
Even if cache is not available system should work (with delayed time obviously). Meaning app logic should check for cache in redis if it's not there or system itself is not available it should get the value from dB and then populate it to redis and then serve to the client.
In this way even if your redis master and slave are down your application will work fine but with a delay. And also your cache will be up to date.
Hope this helps.
Seems you should use centralized cache, sitting between your DB and App Layers where all DB read/writes pass through the cache with a write-through cache invalidation scheme.