Component | Description |
Shard | The smallest logical unit of distributed storage. A cluster allocates 16,384 hash slots to shards. Each shard consists of one master node and multiple replica nodes, stores data for the corresponding slots, and supports online data balancing and dynamic migration. |
Master node | The core node in a shard that handles read/write requests. Each shard has exactly one master node, which handles data writes and synchronizes them to its replica nodes in real time. |
Replica node | A node in a shard that ensures data redundancy and high availability. It synchronizes data from the master node in real time. When the master node fails, the system automatically promotes one of the replica nodes to the new master node. |
Proxy cluster | A built-in proxy component receives client requests and routes them to the corresponding shards. It provides load balancing, read/write separation, and cross-shard command processing capabilities while hiding cluster topology details. For details about Proxy routing rules, command compatibility, and connection limits, see Proxy Features. |

Development Language | Recommended Client | Recommended Edition | Connection Class | Connection Example |
Java | Jedis | 5.1.2 or later | JedisPool | |
Java | Lettuce | 6.3.0 or later | RedisClient | |
Python | redis-py | Latest stable version | redis.Redis | |
Go | go-redis | v9 | redis.NewClient | |
Node.js | node-redis / ioredis | Latest stable version | createClient / new Redis() | |
PHP | phpredis | 5.0 or later | Redis | |
C | hiredis | Latest stable version | redisConnect | |
.Net | StackExchange.Redis / ServiceStack.Redis | Latest stable version | ConnectionMultiplexer |
Configuration Item | Optional Specifications |
Shard specifications (GB): | 1,2,4,8,12,16,20,24,32,40,48,64GB |
Shard quantity | 1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, and 128 |
Replica quantity | 1, 2, 3, 4, and 5 |
Item | Upper Limit | Description |
Total storage capacity | 8TB | 128 shards × 64 GB/shard |
Concurrent performance | Tens of millions of QPS | Tencent Cloud conducts multiple stress tests in standard testing environments and uses stable values as official references. For details, see Specifications and Performance. |
フィードバック