Replies: 2 comments 2 replies
-
Hi @sebbarg
You're welcome, happy you're liking it 🙂
Regarding the resources usage: it's possible to share the same underlying L1 (memory cache) and L2 (distributed cache), and by using a different
Probably better.
Understandable. Maybe a common ground would be to use a centralized utility method to generate the cache keys, such that the method force the selection of a TenantId? Meanwhile, I'll see if I can come up with something else. |
Beta Was this translation helpful? Give feedback.
-
OMG, I didn't realize how many overloads there are 😬 |
Beta Was this translation helpful? Give feedback.
-
Thanks for an awesome cache!
I have a multitenant setup using Autofac to host per-tenant child DI scopes:
I see two paths forward:
WithCacheKeyPrefix
;I prefer (1) for simplicity, but I worry that it will create too many redundant instances of whatever makes FusionCache run. (2) is a pain because I need to wrap the public API and maintain it going forward.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions