Updated on 2024-10-17 GMT+08:00

Test Data of Redis Cluster DCS Redis 6.0 Instances

DCS Redis 6.0 basic edition instances support SSL. This section covers the performance tested with and without SSL enabled.

Test Environment

  • Redis instance specifications

    Redis 6.0 | Basic edition | 32 GB | Redis Cluster

  • ECS flavors

    General compute-plus | 8 vCPUs | 16 GiB | c7.2xlarge.2

  • ECS image

    Ubuntu 18.04 server 64-bit

  • Test tool

    Three ECSs are used for concurrent tests. The test tool is memtier_benchmark.

Test Command

SSL disabled:

./memtier_benchmark -s {IP} -p {port} -c {connect_number} -t {thread}  -n allkeys --key-prefix="xxxx" --key-minimum=1 --key-maximum={max_key} --key-pattern=P:P --ratio=1:0 -d {datasize} --cluster-mode

Reference values: -c {connect_number}: 1000, --key-maximum{max_key}: 2000000, -d {datasize}: 32

SSL enabled:

./memtier_benchmark -s {IP} -p {port} -c {connect_number} -t {thread}  -n allkeys --key-prefix="xxxx" --key-minimum=1 --key-maximum={max_key} --key-pattern=P:P --ratio=1:0 -d {datasize} --cluster-mode  --tls --cacert ca.crt

Reference values: -c {connect_number}: 1000, --key-maximum{max_key}: 2000000, -d {datasize}: 32

Test Result

  • The following test results are for reference only. The performance may vary depending on the site environment and network fluctuation.
  • QPS: Query per second, indicates number of read and write operations per second. Unit: count/second.
  • Average Latency: Average latency of operations, in milliseconds.
  • xth Percentile Latency: latency of x% of operations, in milliseconds. For example, if the value is 10 ms, 99.99th percentile latency indicates that 99.99% queries can be processed within 10 ms.
Table 1 Test result of the SET command (SSL disabled)

Redis Cache Size

CPU Type

Concurrent Connections

QPS

Average Latency (ms)

99th-Percentile Latency (ms)

99.9th-Percentile Latency (ms)

32 GB

x86

1000

322,899.21

2.661

4.319

8.511

3000

360,336.14

7.757

13.055

29.439

10,000

330,378.22

29.411

97.279

153,599

Table 2 Test result of the SET command (SSL enabled)

Redis Cache Size

CPU Type

Concurrent Connections

QPS

Average Latency (ms)

99th-Percentile Latency (ms)

99.9th-Percentile Latency (ms)

32 GB

x86

1000

238,307.26

3.603

5.151

6.527

3000

185,455.62

13.196

20.607

352.255

10,000

111,913.19

57.537

96.767

121.343

Table 3 Test result of the GET command (SSL disabled)

Redis Cache Size

CPU Type

Concurrent Connections

QPS

Average Latency (ms)

99th-Percentile Latency (ms)

99.9th-Percentile Latency (ms)

32 GB

x86

1000

450,422.66

1.875

2.767

6.879

3000

432,450.2

6.451

12.095

28.415

10,000

507,338.44

23.001

95.231

176.127

Table 4 Test result of the GET command (SSL enabled)

Redis Cache Size

CPU Type

Concurrent Connections

QPS

Average Latency (ms)

99th-Percentile Latency (ms)

99.9th-Percentile Latency (ms)

32 GB

x86

1000

274,066.16

3.076

4.255

7.071

3000

201,063.51

11.743

18.047

387.071

10,000

116,026.38

51.284

84.479

136.191