We have a Redis Sentinel setup with 1 master
, 2 replicas
, 3 Sentinels
. And we are planning to use it as a common in-memory storage solution for all the micro-services.
However, one of the micro-service is going to maintain a high priority data, which needs a dedicated slice of memory i.e 200 MB out of total memory available. To put it in another word, we don't want other service's cache to take over the available memory in worst case scenario.
It looks like there is no readily available solution in Redis.
Probable solution we have in mind is, to have a separate Redis Sentinel setup dedicated for the high priority data. However, this increases the cost, and maintenance overhead.
My question is, Is there a way we can achieve this requirement with a single Redis Sentinel setup ?