Skip to content

What's the correct FusionCache configuration for this scenario? (No expiration + distributed invalidation) #125

Discussion options

You must be logged in to vote

Hi @FrancescoBonizzi and thanks for using FusionCache!

Yes, you can achieve what you are describing 🎉
But no, not with the distributed cache.

You see, a cache layer (both memory and distributed) is "passive" whereas you need something "active", meaning that each node gets to be notified of the change, right?
Well you are in luck: that is exactly the job of another component, the backplane.
Basically you just need to enable the backplane and... that's it: when you'll change a piece of data, a notification will be sent to all the connected nodes.
You can even enable/disable backplane notifications per-call, with a very granular control.

Currently the only current implementation available is…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@FrancescoBonizzi
Comment options

@jodydonetti
Comment options

@FrancescoBonizzi
Comment options

Answer selected by FrancescoBonizzi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants