Feature | Standard Architecture | Cluster Architecture | |||
Compatible Redis version | 2.8 | 4.0, 5.0 | 6.2 | 4.0, 5.0 | 6.2 |
Memory specification | 256 MB–64 GB | 256 MB–64 GB | 1 GB–64 GB | 2 GB–8 TB | |
Shard quantity | Not supported | | | 1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, 128 | |
QPS | 80,000–100,000 | 80,000–100,000 | 80,000–100,000 | 80,000–100,000/shard | |
Maximum number of connections | 10,000 by default; up to 40,000 | 10,000 by default; up to 40,000 | | 10,000/shard by default; up to 40,000/shard | |
Traffic limit | 10 MB/s–64 MB/s | 528 MB/s–608 MB/s | | 288 MB/s–72 GB/s | |
Multi-database | Supported | Supported | | Supported | Supported |
Mget and Mset | Supported | Supported | | Supported | Supported |
Lua | Supported | Supported | | Supported (cross-slot access not supported) | Supported (cross-slot access not supported) |
Horizontal scaling | Not supported | Not supported | | Supported | Supported |
Replica scaling | Not supported | Supported | | Supported | Supported |
Read/Write separation | Not supported | Supported | | Supported | Supported |
GEO | Not supported | Supported | | Supported | Supported |
Replica quantity | 1 | 1–5 | | | |
Feature | Standard Architecture | Cluster Architecture |
Compatible Redis version | 3.2 | 3.2 |
Memory specification | 4 GB–384 GB | 12 GB–48 TB |
Shard quantity | - | 3–128 |
QPS | 80,000–120,000 | Tens of millions |
Maximum number of connections | 12,000–24,000 | 12,000–24,000/shard |
Traffic limit | 16 MB/s–256 MB/s | 72 MB/s–32 GB/s |
Multi-database | Supported | Supported |
Mget and Mset | Supported | Supported |
Lua | Supported | Limited support (to use Lua in the cluster edition, you need to make sure that the keys accessed in the Lua script are in the same slot, and the key field must be included in the command parameters) |
Horizontal scaling | Not supported | Supported |
Replica scaling | Not supported | Not supported |
Read/Write separation | Not supported | Not supported |
GEO | Supported | Supported |
Specification (GB) | Maximum number of connections | Maximum throughput (MB/s) |
0.25 | 3,000 | 10 |
1 | 40,000 | 16 |
2 | 40,000 | 24 |
4 | 40,000 | 24 |
8 | 40,000 | 24 |
12 | 40,000 | 32 |
16 | 40,000 | 32 |
20 | 40,000 | 48 |
24 | 40,000 | 48 |
32 | 40,000 | 48 |
40 | 40,000 | 64 |
48 | 40,000 | 64 |
60 | 40,000 | 64 |
Specification (GB) | Maximum number of connections | Maximum throughput (MB/s) |
4 | 10,000 | 24 |
8 | 10,000 | 24 |
16 | 10,000 | 32 |
24 | 10,000 | 32 |
32 | 10,000 | 32 |
48 | 18,000 | 64 |
64 | 18,000 | 64 |
80 | 18,000 | 64 |
96 | 18,000 | 64 |
128 | 24,000 | 128 |
160 | 24,000 | 128 |
192 | 24,000 | 128 |
256 | 24,000 | 256 |
320 | 24,000 | 256 |
384 | 24,000 | 256 |
Redis Instance Specification | Connections | QPS |
Memory Edition (Standard Architecture) 8 GB | 10,000 | 80,000–100,000 |
Memory Edition (Cluster Architecture) 8 GB (single-shard) | 10,000 | 80,000–100,000 |
CKV Edition (Standard Architecture) 8 GB | 12,000 | 80,000–120,000 |
Test Client CVM Instances | CVM Cores | CVM Memory | Region | Redis Instance Specification |
3 | 2 | 8 GB | Guangzhou Zone 2 | Memory Edition (Standard Architecture) 8 GB |
3 | 2 | 8 GB | Guangzhou Zone 2 | CKV Edition (Standard Architecture) 8 GB |
redis-benchmark -h 10.66.187.x -p 6379 -a crs-1znib6aw:chen2016 -t set -c 3500 -d 128 -n 25000000 -r 5000000redis-benchmark -h 10.66.187.x -p 6379 -a crs-1z5536aw:chen2016 -t set -c 3500 -d 128 -n 25000000 -r 5000000redis-benchmark -h 10.66.187.x -p 6379 -a crs-090rjlih:1234567 -t set -c 3500 -d 128 -n 25000000 -r 5000000
Was this page helpful?