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

Test Data of Master/Standby 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 | 8 GB | Master/Standby

    Redis 6.0 | Basic edition | 32 GB | Master/Standby

  • ECS flavors

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

  • ECS image

    Ubuntu 18.04 server 64-bit

  • Test tool

    A single ECS is used for the test. 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}

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}  --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)

8 GB

x86

500

151,047.41

3.355

6.175

12.223

1000

149,346.86

6.673

11.711

31.743

32 GB

x86

500

143,648.1

3.476

5.215

13.055

4000

104,517.03

37.881

139.263

175.103

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)

8 GB

x86

500

86,827.84

5.537

8.575

9.535

1000

92,413.99

10.055

15.615

17.279

32 GB

x86

500

87,385.5

5.584

8.383

9.343

4000

50,813.67

62.623

100.863

104.959

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)

8 GB

x86

500

180,413.66

2.764

4.287

11.583

1000

179,113.5

5.586

8.959

29.823

32 GB

x86

500

175,268.86

2.848

4.079

11.839

4000

134,755.17

29.161

126.463

166.911

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)

8 GB

x86

500

113,637.22

4.316

6.239

7.359

1000

105,504.55

8.962

13.439

15.295

32 GB

x86

500

100,309.99

4.603

6.559

6.943

4000

57,007.69

55.052

85.503

89.087