Replies: 1 comment 2 replies
-
Hi @pdonovan , there's the I'll take a better look at the docs and maybe update them to include it, thanks for pointing that out! Hope this helps, let me know. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a tenanted system where each tenant gets its own Fusion cache with a name and a cache key prefix. We also use Redis as L2 and as the backplane. The Redis connection string is the same for each cache, and so I have registered the Redis cache itself once with DI:
Note that I'm adding the
IConnectionMultiplexer
itself to DI so that the OpenTelemetry instrumentation can find it.When setting up the caches, do I need to add
WithBackplane(new RedisBackplane())
to each cache, or can I also useWithRegisteredBackplane()
so that each named cache shares a single Redis backplane?For each tenant I currently do the following:
Can or should I do this instead?
Looking at it now it makes sense but I couldn't find anything in the docs to confirm it. There doesn't seem to be a way to add a name or name prefix to the backplane.
Beta Was this translation helpful? Give feedback.
All reactions