ConnectionMultiplexer HashSlot function

Connie Elim 21 Reputation points
2021-06-17T20:49:06.18+00:00

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 for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
236 questions
{count} votes

Accepted answer
  1. Anurag Sharma 17,591 Reputation points
    2021-06-21T06:27:31.857+00:00

    Hi @Connie Elim , 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'

    0 comments No comments

0 additional answers

Sort by: Most helpful