ShardedRedisClientManager
Provides sharding of redis client connections. uses consistent hashing to distribute keys across connection pools
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class ShardedRedisClientManager
Methods
GetConnectionPool(String)
maps a key to a redis connection pool
View Source
Declaration
public ShardedConnectionPool GetConnectionPool(string key)
Returns
ServiceStack.Redis.ShardedConnectionPool: a redis connection pool
Parameters
Type | Name | Description |
---|---|---|
System.String | key | key to map |
|