Updated on 2024-12-12 GMT+08:00

Test Data of Redis Cluster DCS Redis 4.0 or 5.0 Instances

Test Environment

  • Redis instance specifications

    Redis 4.0 or 5.0 | 32 GB | Redis Cluster

  • ECS flavors

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

  • Test tool

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

Test Command

memtier_benchmark --cluster-mode --ratio=(1:0 and 0:1) -s {IP} -n {nreqs}  -c {connect_number}  -t 4 -d {datasize}

Reference values: -c {connect_number}: 1000; -n {nreqs}: 10,000,000; -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 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)

32 GB

x86

1000

371,780.2‬

5.6

6.3

44

10,000

256,073.11

90

220

460

32 GB

Arm

1000

317,053.78

17

34

230

10,000

248,832.33

410

490

750

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)

32 GB

x86

1000

427,000.04

5.0

5.3

78

10,000

302,159.03‬

63

220

460

32 GB

Arm

1000

421,402.06

13

14

65

10,000

309,359.18

180

260

500