ZiggyCreatures / FusionCache

FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.
MIT License
1.9k stars 97 forks source link

[QUESTION] Manually remove Redis entry and backplane updates #180

Closed JarrodOsborne closed 1 year ago

JarrodOsborne commented 1 year ago

Hi, I haven't tried replicating this scenario but my question is...

If I have a two tier cache:

If I manually removed an item from Redis using the CLI, for example: DEL MyCacheKey

Would the backplane pick up on this and remove the entry from my local memory? Not sure if the backplane only works if interacting through FusionCache or the Redis SDK, or would any update (a CLI interaction in this case) work.

Thanks

jodydonetti commented 1 year ago

Hi Jarrod and thanks for using FusionCache!

As you have guessed FusionCache does not pick up all the possible changes happening in the Redis instance, but requires you to tell it directly what you want to do.

Hope this helps.