Replies: 1 comment
-
|
Hi @oconnor0
In general, I would say yes.
It works with any combination of L1/L2, dedicated or isolated, because... (see below)
... the
No, in that case each is an isolated You can use a single
You can still set a
Regarding performance: no, no differences. If instead you just set a Hope this helps, let me know. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Currently investigating using FusionCache, it's looking good so far but I do have a question.
I'm converting a system with multiple cache instances backed by multiple Redis servers/databases. I haven't decided if I'm going to convert "multiple cache instances" to some variant of "named caches" or not yet. That'll obviously influence whether I keep the multiple Redis servers/databases or not.
As I have been reading the documentation, it seemed like having FusionCache own its MemoryCache made the most sense.
Cleardidn't sound like it would work properly with a shared MemoryCache (tho perhaps I avoid that by just tagging everything?). If I have multiple MemoryCaches (one per FusionCache), do they coordinate their total memory usage? I don't want to instantiate a whole bunch of FusionCaches and end up spending too much of my memory budget on caching.Additionally, if there are multiple FusionCaches (with different CacheKeyPrefixes) pointing to a single Redis database, are there performance considerations here vs just using a single FusionCache instance and then prefixing the keys?
Beta Was this translation helpful? Give feedback.
All reactions