Help Center> Distributed Cache Service> Performance Whitepaper> Test Data of Master/Standby DCS Redis 4.0 or 5.0 Instances

Test Data of Master/Standby DCS Redis 4.0 or 5.0 Instances

Test Environment

  • Redis instance specifications

    Redis 4.0 or 5.0 | 8 GB | master/standby

    Redis 4.0 or 5.0 | 32 GB | master/standby

  • ECS flavors

    General computing-enhanced | c6.2xlarge.2 | 8 vCPUs | 16 GB

  • ECS image

    Ubuntu 18.04 server 64bit

Test Command

./redis-benchmark -h {IP} -p {Port} -a {password} -n {nreqs} -r {randomkeys} -c {connection} -d {datasize} -t {command}

Reference values: -c {connect_number}: 1000; -n {nreqs}: 10,000,000; -r {randomkeys}: 1,000,000; -d {datasize}: 32

Test Result

Table 1 Test result of running the SET command

Redis Cache Size

CPU Type

Concurrent Connections

QPS

99.99th-Percentile Latency (ms)

First 100th-Percentile Latency (ms)

Last 100th-Percentile Latency (ms)

Average Latency (ms)

8 GB

x86

500

163188.20

6.4

8.8

210

3.037

10,000

102238.01

180

210

400

98.577

Arm

500

106372.52

8.2

8.6

17

4.669

10,000

75182.96

300

360

470

133.235

32 GB

x86

500

164256.78

5.8

6.4

210

3.033

10,000

103356.76

160

170

390

96.991

Arm

500

110064.45

8.4

10

19

4.543

10,000

84791.04

270

370

480

118.359

Table 2 Test result of running the GET command

Redis Cache Size

CPU Type

Concurrent Connections

QPS

99.99th-Percentile Latency (ms)

First 100th-Percentile Latency (ms)

Last 100th-Percentile Latency (ms)

Average Latency (ms)

8 GB

x86

500

202,929.67

4.2

4.5

210

2.47

10,000

122,407.16

300

330

580

81.988

Arm

500

135,342.56

6.6

7.3

15

3.679

10,000

92,454.73

340

390

700

108.172

32 GB

x86

500

202,252.89

4.1

4.6

210

2.47

10,000

123,700.68

140

160

360

81.092

Arm

500

138,582.99

6.6

7.2

22

3.599

10,000

97,174.25

220

350

470

103.06