Updated on 2024-11-26 GMT+08:00

Redis 4.0 and 5.0 Instance Specifications

This section describes DCS Redis 4.0 and 5.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured bandwidth, and reference performance.

The following metrics are related to the instance specifications:

  • Used memory: You can check the memory usage of an instance by viewing the Memory Usage and Used Memory metrics.
  • Maximum connections: The maximum number of connections allowed is the maximum number of clients that can be connected to an instance. To check the number of connections to an instance, view the Connected Clients metric. After an instance is created, you can change the maximum number of connections of the instance by modifying the maxclients parameter on the Instance Configuration > Parameters page on the console. This parameter cannot be modified for Proxy Cluster instances.
  • QPS represents queries per second, which is the number of commands processed per second.
  • Bandwidth: You can view the Flow Control Times metric to check whether the bandwidth has exceeded the limit.
  • Single-node, master/standby, Proxy Cluster, and Redis Cluster instance types are available.
  • Supported CPU architecture: x86 and Arm.

Single-Node Instances

Table 1 Specifications of single-node DCS Redis 4.0 or 5.0 instances

Total Memory

(GB)

Available Memory

(GB)

Max. Connections (Default/Limit)

(Count)

Assured/Maximum Bandwidth

(Mbit/s)

Reference Performance

(QPS)

Specification Code (spec_code in the API)

0.125

0.125

10,000/10,000

40/40

50,000

x86:

redis.single.xu1.tiny.128

Arm:

redis.single.au1.tiny.128

0.25

0.25

10,000/10,000

80/80

50,000

x86:

redis.single.xu1.tiny.256

Arm:

redis.single.au1.tiny.256

0.5

0.5

10,000/10,000

80/80

50,000

x86:

redis.single.xu1.tiny.512

Arm:

redis.single.au1.tiny.512

1

1

10,000/10,000

80/80

50,000

x86:

redis.single.xu1.large.1

Arm:

redis.single.au1.large.1

2

2

10,000/10,000

128/128

50,000

x86:

redis.single.xu1.large.2

Arm:

redis.single.au1.large.2

4

4

10,000/10,000

192/192

50,000

x86:

redis.single.xu1.large.4

Arm:

redis.single.au1.large.4

8

8

10,000/10,000

192/192

50,000

x86:

redis.single.xu1.large.8

Arm:

redis.single.au1.large.8

16

16

10,000/10,000

256/256

50,000

x86:

redis.single.xu1.large.16

Arm:

redis.single.au1.large.16

24

24

10,000/10,000

256/256

50,000

x86:

redis.single.xu1.large.24

Arm:

redis.single.au1.large.24

32

32

10,000/10,000

256/256

50,000

x86:

redis.single.xu1.large.32

Arm:

redis.single.au1.large.32

48

48

10,000/10,000

256/256

50,000

x86:

redis.single.xu1.large.48

Arm:

redis.single.au1.large.48

64

64

10,000/10,000

384/384

50,000

x86:

redis.single.xu1.large.64

Arm:

redis.single.au1.large.64

Master/Standby Instances

By default, a master/standby instance has two replicas (including the master). There is one master node.

Number of IP addresses occupied by a master/standby instance = Number of master nodes × Number of replicas. For example:

2 replicas: Number of occupied IP addresses = 1 × 2 = 2

3 replicas: Number of occupied IP addresses = 1 × 3 = 3

The following table lists the specification codes (spec_code) when there are two default replicas. Change the replica quantity in the specification codes based on the actual number of replicas. For example, if an 8 GB master/standby x86-based instance has two replicas, its specification code is redis.ha.xu1.large. r2.8. If it has three replicas, its specification code is redis.ha.xu1.large. r3.8.

Table 2 Specifications of master/standby DCS Redis 4.0 or 5.0 instances

Total Memory

(GB)

Available Memory

(GB)

Max. Connections (Default/Limit)

(Count)

Assured/Maximum Bandwidth

(Mbit/s)

Reference Performance

(QPS)

Specification Code (spec_code in the API)

0.125

0.125

10,000/10,000

40/40

50,000

x86:

redis.ha.xu1.tiny.r2.128

Arm:

redis.ha.au1.tiny.r2.128

0.25

0.25

10,000/10,000

80/80

50,000

x86:

redis.ha.xu1.tiny.r2.256

Arm:

redis.ha.au1.tiny.r2.256

0.5

0.5

10,000/10,000

80/80

50,000

x86:

redis.ha.xu1.tiny.r2.512

Arm:

redis.ha.au1.tiny.r2.512

1

1

10,000/10,000

80/80

50,000

x86:

redis.ha.xu1.large.r2.1

Arm:

redis.ha.au1.large.r2.1

2

2

10,000/10,000

128/128

50,000

x86:

redis.ha.xu1.large.r2.2

Arm:

redis.ha.au1.large.r2.2

4

4

10,000/10,000

192/192

50,000

x86:

redis.ha.xu1.large.r2.4

Arm:

redis.ha.au1.large.r2.4

8

8

10,000/10,000

192/192

50,000

x86:

redis.ha.xu1.large.r2.8

Arm:

redis.ha.au1.large.r2.8

16

16

10,000/10,000

256/256

50,000

x86:

redis.ha.xu1.large.r2.16

Arm:

redis.ha.au1.large.r2.16

24

24

10,000/10,000

256/256

50,000

x86:

redis.ha.xu1.large.r2.24

Arm:

redis.ha.au1.large.r2.24

32

32

10,000/10,000

256/256

50,000

x86:

redis.ha.xu1.large.r2.32

Arm:

redis.ha.au1.large.r2.32

48

48

10,000/10,000

256/256

50,000

x86:

redis.ha.xu1.large.r2.48

Arm:

redis.ha.au1.large.r2.48

64

64

10,000/10,000

384/384

50,000

x86:

redis.ha.xu1.large.r2.64

Arm:

redis.ha.au1.large.r2.64

Proxy Cluster Instances

The number of shards and replicas of a Proxy Cluster instance cannot be customized. By default, each shard has two replicas. For details about the default number of shards, see Table 2.

Table 3 Specifications of Proxy Cluster DCS Redis 4.0 and 5.0 instances

Total Memory

(GB)

Available Memory

(GB)

Max. Connections (Default/Limit)

(Count)

Assured/Maximum Bandwidth

(Mbit/s)

Reference Performance

(QPS)

Specification Code (spec_code in the API)

4

4

10,000/10,000

1000/1000

100,000

x86: redis.proxy.xu1.large.4

Arm: redis.proxy.au1.large.4

8

8

10,000/10,000

2000/2000

100,000

x86: redis.proxy.xu1.large.8

Arm: redis.proxy.au1.large.8

16

16

10,000/10,000

3072/3072

100,000

x86: redis.proxy.xu1.large.16

Arm: redis.proxy.au1.large.16

24

24

10,000/10,000

3072/3072

100,000

x86: redis.proxy.xu1.large.24

Arm: redis.proxy.au1.large.24

32

32

10,000/10,000

3072/3072

100,000

x86: redis.proxy.xu1.large.32

Arm: redis.proxy.au1.large.32

48

48

10,000/10,000

4608/4608

200,000

x86: redis.proxy.xu1.large.48

Arm: redis.proxy.au1.large.48

64

64

10,000/10,000

6144/6144

250,000

x86: redis.proxy.xu1.large.64

Arm: redis.proxy.au1.large.64

96

96

10,000/10,000

9216/9216

400,000

x86: redis.proxy.xu1.large.96

Arm: redis.proxy.au1.large.96

128

128

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.128

Arm: redis.proxy.au1.large.128

192

192

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.192

Arm: redis.proxy.au1.large.192

256

256

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.256

Arm: redis.proxy.au1.large.256

384

384

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.384

Arm: redis.proxy.au1.large.384

512

512

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.512

Arm: redis.proxy.au1.large.512

768

768

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.768

Arm: redis.proxy.au1.large.768

1024

1024

10,000/10,000

10,000/10,000

500,000

x86: redis.proxy.xu1.large.1024

Arm: redis.proxy.au1.large.1024

Redis Cluster Instances

In addition to larger memory, Redis Cluster instances feature more connections allowed, higher bandwidth allowed, and more QPS than single-node and master/standby instances.

  • Specification name: The following table only lists the specification names of 2-replica x86- and Arm-based instances. The specification names reflect the number of replicas, for example, redis.cluster.xu1.large.r2.8 (x86 | 2 replicas | 8 GB) and redis.cluster.xu1.large.r3.8 (x86 | 3 replicas | 8 GB).
  • IP addresses: Number of occupied IP addresses = Number of shards × Number of replicas. For example:

    4 GB | Redis Cluster | 3 replicas | 3 shards: Number of occupied IP addresses = 3 × 3 = 9

  • Available memory per node = Instance available memory/Master node quantity. For example:

    A 24 GB instance has 24 GB available memory and 3 master nodes. The available memory per node is 24/3 = 8 GB.

  • Maximum connections per node = Instance maximum connections/Master node quantity. For example:

    A 4 GB instance has 3 master nodes and the maximum connections limit is 150,000. The maximum connections limit per node = 150,000/3 = 50,000.

Table 4 Specifications of Redis Cluster DCS Redis 4.0 or 5.0 instances

Total Memory

(GB)

Available Memory

(GB)

Shards (Master Nodes)

Max. Connections (Default/Limit)

(Count)

Assured/Maximum Bandwidth

(Mbit/s)

Reference Performance

(QPS)

Specification Code (spec_code in the API)

4

4

3

10,000/10,000

2304/2304

100,000

x86:

redis.cluster.xu1.large.r2.4

Arm:

redis.cluster.au1.large.r2.4

8

8

3

10,000/10,000

2304/2304

100,000

x86:

redis.cluster.xu1.large.r2.8

Arm:

redis.cluster.au1.large.r2.8

16

16

3

10,000/10,000

2304/2304

100,000

x86:

redis.cluster.xu1.large.r2.16

Arm:

redis.cluster.au1.large.r2.16

24

24

3

10,000/10,000

2304/2304

100,000

x86:

redis.cluster.xu1.large.r2.24

Arm:

redis.cluster.au1.large.r2.24

32

32

3

10,000/10,000

2304/2304

100,000

x86:

redis.cluster.xu1.large.r2.32

Arm:

redis.cluster.au1.large.r2.32

48

48

6

10,000/10,000

4608/4608

200,000

x86:

redis.cluster.xu1.large.r2.48

Arm:

redis.cluster.au1.large.r2.48

64

64

8

10,000/10,000

6144/6144

250,000

x86:

redis.cluster.xu1.large.r2.64

Arm:

redis.cluster.au1.large.r2.64

96

96

12

10,000/10,000

9216/9216

400,000

x86:

redis.cluster.xu1.large.r2.96

Arm:

redis.cluster.au1.large.r2.96

128

128

16

10,000/10,000

12,288/12,288

500,000

x86:

redis.cluster.xu1.large.r2.128

Arm:

redis.cluster.au1.large.r2.128

192

192

24

10,000/10,000

18,432/18,432

500,000

x86:

redis.cluster.xu1.large.r2.192

Arm:

redis.cluster.au1.large.r2.192

256

256

32

10,000/10,000

24,576/24,576

500,000

x86:

redis.cluster.xu1.large.r2.256

Arm:

redis.cluster.au1.large.r2.256

384

384

48

10,000/10,000

36,864/36,864

500,000

x86:

redis.cluster.xu1.large.r2.384

Arm:

redis.cluster.au1.large.r2.384

512

512

64

10,000/10,000

49,152/49,152

500,000

x86:

redis.cluster.xu1.large.r2.512

Arm:

redis.cluster.au1.large.r2.512

768

768

96

10,000/10,000

73,728/73,728

500,000

x86:

redis.cluster.xu1.large.r2.768

Arm:

redis.cluster.au1.large.r2.768

1024

1024

128

10,000/10,000

98,304/98,304

500,000

x86:

redis.cluster.xu1.large.r2.1024

Arm:

redis.cluster.au1.large.r2.1024