Performance

Last updated: 2020-02-26 16:09:20

PDF

Specifications

Redis Community Engine

FeatureStandard EditionCluster Edition
Redis-Compatible Versions2.84.0/5.04.0/5.0
Memory256MB-60GB1mura 60 GB12 GB-4 TB
Shard Count--3Muhami 128
QPS80000 won 10000080000 won 100000Tens of millions
Max Connections100001000010000/shard
Traffic Limit10Mutual 64 MB/s10Mutual 64 MB/s72 MB/s-5 GB/s
Multi-DBYesYesYes
Mget, MsetYesYesYes
LuaYesYesYes (cross-slot access not supported))
Horizontal Scaling--Yes
Vertical Scaling--Yes
Read-write SeparationPort: 789YesYes
GEOPort: 789YesYes
Replica Count0-11 ≤ 51 ≤ 5

The 256 MB specification is an entry-level trial version. It is only suitable for functionality verification in test environments but not recommended for production environments. Therefore, other specifications currently cannot be scaled down to the 256 MB specification.

CKV Engine

FunctionStandardCluster Edition
Compatible with Redis version3.23.2
Memory specification4GB-384GB12GB-48TB
Shard Count-0.072
QPS80-120000Tens of thousands of levels
Maximum number of connections12000-2400012000 / slice-24000 / slice
Traffic restriction16MB/S-256MB/S72MB/S-32GB/S
Multiple DBSupportedSupported
Mget 、 MsetSupportedSupported
LuaSupportedLimited support (using lua, in cluster version requires business to make sure that Access's Key in the lua script is all in the same Slot, and the Key field should be included in the command parameters)
Horizontal expansion-Supported
Vertical expansion-Not supported
Read-write SeparationNot supportedNot supported
Support for GEOSupportedSupported

Number of Connections and Traffic of Different Instance Specifications

Redis Community Engine

Specification (GB) Max Connections Max Throughput (MB/s)
0.25 3000 10
1 10000 16
2 10000 24
4 10000 24
8 10000 24
12 10000 32
16 10000 32
20 10000 48
24 10000 48
32 10000 48
40 10000 64
48 10000 64
60 10000 64

CKV Engine

Specification (GB) Max Connections Max 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 * shard count;
Cluster edition throughput = shard throughput * shard count

After scaling, legacy instances capable of up to 9000 connections will be capable of 10000 ones.

Performance Data

Performance References

The performance values may vary with commands and their execution time in the production environment. The tested values in this document are obtained based on specific parameters and for reference only. To get the actual performance values, performa test on a real-life service.

  • Single-node Test Performance
Redis Instance Specification Connections QPS
Standard Edition, 8 GB 10000 80000 won 100000
Cluster Edition, 8 GB (single shard) 10000 80000 won 100000
CKV Standard Edition, 8 GB 12000 80000 Rue 120000
  • Cluster Edition Test Performance
    Cluster edition performance = standard edition performance * shard count;
    Cluster edition (CKV) performance = standard edition (CKV) performance * shard count

Test Method

  • Test Environment
Number of CVMs in the pressure test client CVM cores CVM MEM Region Redis instance size
3 2 8 GB Guangzhou Zone 2 Redis Standard Edition, 8 GB
3 2 8 GB Guangzhou Zone 2 CKV Standard Edition, 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 5000000
redis-benchmark -h 10.66.187.x -p 6379 -a crs-1z5536aw:chen2016 -t set -c 3500 -d 128 -n 25000000 -r 5000000
redis-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 stress test clients (redis-benchmark).