ServiceStack.Redis Unable to tolerate Multi-Shard Azure Redis

52 Views Asked by At

We are on ServiceStack.Redis version 5.14, on the .NET Framework stack, connected to Azure Redis v6. Have been using ServiceStack.Redis since 2017. We began seeing ServiceStack.Redis.RedisResponseException errors (with a message contained "MOVED 1340 <IP of our Redis instance>:1500") when we scaled our Azure Redis to the Premium SKU and then to 2 Shards.

Our connection string is not to a specific instance, it's just to the DNS name of the Azure Redis instance, port 6380.

Does ServiceStack.Redis support multi-sharded Azure Redis implementations?

1

There are 1 best solutions below

4
mythz On

MOVED is a Redis Cluster command, ServiceStack.Redis only supports High availability with Redis Sentinel, it doesn't support Redis Cluster.