question

ConnieElim-1673 avatar image
0 Votes"
ConnieElim-1673 asked AnuragSharma-MSFT answered

ConnectionMultiplexer HashSlot function

Hi,

My team is using Redis' ConnectionMultiplexer HashSlot function. Is this HashSlot function dependent on Redis connection? Or will it still provide me the correct slot when Redis is down?

Thanks!

azure-cache-redis
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ConnieElim-1673, welcome to Microsoft Q&A forum.

Could you please confirm if you are using Azure Redis Cache? I can reach out internally based on your inputs.

0 Votes 0 ·

@AnuragSharma-MSFT,
Yes, I am using Azure Redis Cache.

0 Votes 0 ·

1 Answer

AnuragSharma-MSFT avatar image
0 Votes"
AnuragSharma-MSFT answered

Hi @ConnieElim-1673, thanks for your patience. I have received the reply from product group. As per them a server connection is not necessary.

Below is the implementation you can check for more details:

https://github.com/StackExchange/StackExchange.Redis/blob/main/src/StackExchange.Redis/ServerSelectionStrategy.cs

Please let us know if this helps.


If answer helps, you can mark it 'Accept Answer'


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.