FusionCache
FusionCache copied to clipboard
[QUESTION] Management of 2 redis caches (behind fusioncache) for HA
Hi, we have our app deployed in west and north europe for HA. As of now they both share the same azure redis cache. We were considering to have 2 redis caches , one in north and one in west .. having north app pointing to north redis and west app pointing to west redis.
I am not that worried about the increment of cache misses. My "problem" is when i need a cache entry invalidation (e.g. when i cache user permissions and they are modified in the backoffice of the app by the admin). I don't think it comes out of the box. What comes to my mind is to register both redis instances as named fusioncaches. The west app will use the named one linked to redis west for all calls , but when it has to call Remove/Expire: In this case it will send the command to both named caches.
Does it makes sense ? Is there a better way ?
thanks Enrico