Specification Series
Memory Edition
Note:
As a trial version, the 256 MB specification on v4.0 or v5.0 is only suitable for product verification in testing environments but not recommended for use in production environments. It is available only in:
Guangzhou (Zones 6 and 7), Shanghai (Zones 2, 3, 4 and 5), Beijing (Zones 1, 2, 3, 4, 5, 6, and 7), and Shenzhen Finance (Zones 1, 2, and 3). Other 1 GB and above specifications can be smoothly downgraded to the 256 MB specification.
v2.8 is unavailable for purchase currently, and v4.0 or later is recommended. To purchase v2.8, submit a ticket.
Features | Standard Architecture | Cluster Architecture | |||
Redis-Compatible Versions | 2.8 | 4.0、5.0 | 6.2 | 4.0、5.0 | 6.2 |
Memory Specifications | 256MB - 64GB | 256MB - 64GB | 1GB - 64GB | 2GB - 8TB | |
Shard Quantity | Unavailable | | | 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 per shard | |
Max 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 | 10MB/S - 64MB/S | 528MB/s - 608MB/s | | 288MB/s - 72GB/s | |
Multi-DB | This feature is supported. | This feature is supported. | | This feature is supported. | This feature is supported. |
Mget、Mset | This feature is supported. | This feature is supported. | | This feature is supported. | This feature is supported. |
lua | This feature is supported. | This feature is supported. | | Yes (cross-slot access not supported) | Yes (cross-slot access not supported) |
Scale out | Unavailable | Unavailable | | This feature is supported. | This feature is supported. |
Replica Expansion | Unavailable | This feature is supported. | | This feature is supported. | This feature is supported. |
Read/Write Separation | Unavailable | This feature is supported. | | This feature is supported. | This feature is supported. |
GEO | Unavailable | This feature is supported. | | This feature is supported. | This feature is supported. |
Number of Replicas | 1 | 1 - 5 | | | |
Description of CPU core number
To ensure the stable operations of the system, each node is assigned with 2-core CPU, one of which is used to process the backend tasks.
CKV edition
SDK | Standard Architecture | Cluster Architecture |
Redis-Compatible Versions | 3.2 | 3.2 |
Memory Specifications | 4GB - 384GB | 12GB - 48TB |
Shard Quantity | - | 3 - 128 |
QPS | 80,000–120,000 | Tens of millions |
Max connections | 12000 - 24000 | 12,000–24,000 per shard |
Traffic Limit | 16MB/S - 256MB/S | 72MB/S - 32GB/S |
Multi-DB | This feature is supported. | This feature is supported. |
Mget、Mset | This feature is supported. | This feature is supported. |
lua | This feature is 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) |
Scale out | Unavailable | This feature is supported. |
Replica Expansion | Unavailable | Unavailable |
Read/Write Separation | Unavailable | Unavailable |
GEO | This feature is supported. | This feature is supported. |
Traffic and Connections
Memory Edition
Specification (GB) | Max connections | Maximum throughput (MB/s) |
0.25 | 3000 | 10 |
1 | 40000 | 16 |
2 | 40000 | 24 |
4 | 40000 | 24 |
8 | 40000 | 24 |
12 | 40000 | 32 |
16 | 40000 | 32 |
20 | 40000 | 48 |
24 | 40000 | 48 |
32 | 40000 | 48 |
40 | 40000 | 64 |
48 | 40000 | 64 |
60 | 40000 | 64 |
CKV edition
Specification (GB) | Max connections | Maximum throughput (MB/s) |
4 | 10000 | 24 |
8 | 10000 | 24 |
16 | 10000 | 32 |
24 | 10000 | 32 |
32 | 10000 | 32 |
48 | 18000 | 64 |
64 | 18000 | 64 |
80 | 18000 | 64 |
96 | 18000 | 64 |
128 | 24000 | 128 |
160 | 24000 | 128 |
192 | 24000 | 128 |
256 | 24000 | 256 |
320 | 24000 | 256 |
384 | 24000 | 256 |
Cluster edition connections = number of connections per shard * number of shards;
Cluster edition throughput = shard throughput * number of shards
Note:
After scaling, legacy instances capable of up to 9,000 connections will be capable of 10,000 ones.
Performance Statistics
Performance references
The time needed to execute Redis commands varies. Businesses use different database commands in their production environments; therefore, the corresponding performance values will also vary. The test results listed here are obtained with specified parameters and are for your reference only. Conduct tests in your actual business environment for more accurate results.
Single-node Test Performance
Redis Instance Specification | Number of connections | QPS |
Memory Edition (Standard Architecture) 8 GB | 10000 | 80,000-100,000 |
Memory Edition (Cluster Architecture) 8 GB (single-shard) | 10000 | 80,000-100,000 |
CKV Edition (Standard Architecture) 8 GB | 12000 | 80,000–120,000 |
Cluster architecture test performance
Memory Edition (Cluster Architecture) performance = Memory Edition (Standard Architecture) performance * number of shards
CKV Edition (Cluster Architecture) performance = CKV Edition (Standard Architecture) performance * number of shards
Testing Method
Test environment
Test Client CVM Instances | CVM Cores | CVM Memory | Region | Redis Instance Specification |
3 | 2 cores | 8GB | Guangzhou Zone 3 | Memory Edition (Standard Architecture) 8 GB |
3 | 2 cores | 8GB | Guangzhou Zone 3 | CKV Edition (Standard Architecture) 8 GB |
Test Parameters
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
QPS Calculation
Sum of the QPS values of 3 pressure test clients (tested by redis-benchmark).