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

Redis 6.0 Instance Specifications

This section describes DCS Redis 6.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.
  • QPS represents queries per second, which is the number of commands processed per second. For details about QPS testing, see the Performance White Paper.
  • Bandwidth: You can view the Flow Control Times metric to check whether the bandwidth has exceeded the limit. You can also check the Bandwidth Usage metric. This metric is for reference only, because it may be higher than 100%. For details, see Why Does Bandwidth Usage Exceed 100%?

DCS for Redis 6.0 comes in basic, professional (performance), and professional (storage) editions. They are currently available only in some regions, including CN North-Beijing4 and CN South-Guangzhou. For details about the architecture of DCS Redis 6.0 instances, see DCS Instance Types.

DCS Redis 6.0 professional instances are available only in the master/standby type. All of them are based on the x86 CPU.

The specifications available on the console vary by region.

Basic Edition, Master/Standby

Table 1 Specifications of master/standby DCS Redis 6.0 basic edition 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

80,000

redis.ha.xu1.tiny.r2.128

0.25

0.25

10,000/10,000

80/80

80,000

redis.ha.xu1.tiny.r2.256

0.5

0.5

10,000/10,000

80/80

80,000

redis.ha.xu1.tiny.r2.512

1

1

10,000/50,000

80/80

80,000

redis.ha.xu1.large.r2.1

2

2

10,000/50,000

128/128

80,000

redis.ha.xu1.large.r2.2

4

4

10,000/50,000

192/192

80,000

redis.ha.xu1.large.r2.4

8

8

10,000/50,000

192/192

100,000

redis.ha.xu1.large.r2.8

16

16

10,000/50,000

256/256

100,000

redis.ha.xu1.large.r2.16

24

24

10,000/50,000

256/256

100,000

redis.ha.xu1.large.r2.24

32

32

10,000/50,000

256/256

100,000

redis.ha.xu1.large.r2.32

48

48

10,000/50,000

256/256

100,000

redis.ha.xu1.large.r2.48

64

64

10,000/50,000

384/384

100,000

redis.ha.xu1.large.r2.64

Basic Edition, Single-Node

Table 2 Specifications of single-node DCS Redis 6.0 basic edition 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

80,000

redis.single.xu1.tiny.128

0.25

0.25

10,000/10,000

80/80

80,000

redis.single.xu1.tiny.256

0.5

0.5

10,000/10,000

80/80

80,000

redis.single.xu1.tiny.512

1

1

10,000/50,000

80/80

80,000

redis.single.xu1.large.1

2

2

10,000/50,000

128/128

80,000

redis.single.xu1.large.2

4

4

10,000/50,000

192/192

80,000

redis.single.xu1.large.4

8

8

10,000/50,000

192/192

100,000

redis.single.xu1.large.8

16

16

10,000/50,000

256/256

100,000

redis.single.xu1.large.16

24

24

10,000/50,000

256/256

100,000

redis.single.xu1.large.24

32

32

10,000/50,000

256/256

100,000

redis.single.xu1.large.32

48

48

10,000/50,000

256/256

100,000

redis.single.xu1.large.48

64

64

10,000/50,000

384/384

100,000

redis.single.xu1.large.64

Basic Edition, Proxy Cluster

Table 3 lists the specifications supported by Proxy Cluster instances.

Proxy Cluster instances do not support customization of the number of replicas. Each shard has two replicas by default. For details about the default number of shards, see Table 2. When buying an instance, you can customize the size of a single shard.

  • The following table lists only the Proxy Cluster instance specifications with default shards. If you customize shards, see the maximum number of connections, assured/maximum bandwidth, and product specification code (flavor) in the Instance Specification table on the Buy DCS Instance page of the DCS console.
  • The maximum connections of a cluster is for the entire instance, and not for a single shard. Maximum connections of a single shard = Maximum connections of an instance/Number of shards.
  • The maximum bandwidth and assured bandwidth of a cluster is for the entire instance, and not for a single shard. The relationship between the instance bandwidth and the bandwidth of a single shard is as follows:
    • Instance bandwidth = Bandwidth of a single shard x Number of shards
    • For a cluster instance, if the memory of a single shard is 1 GB, the bandwidth of a single shard is 384 Mbit/s. If the memory of a single shard is greater than 1 GB, the bandwidth of a single shard is 768 Mbit/s.
    • The upper limit of the bandwidth of a Proxy Cluster instance is 10,000 Mbit/s. That is, even if the bandwidth of a single shard multiplied by the number of shards is greater than 10,000 Mbit/s, the bandwidth of the instance is still 10,000 Mbit/s.
Table 3 Specifications of Proxy Cluster DCS Redis 6.0 basic edition 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

20,000/20,000

2,304/2,304

240,000

redis.proxy.xu1.large.4

8

8

3

30,000/30,000

2,304/2,304

240,000

redis.proxy.xu1.large.8

16

16

3

30,000/30,000

2,304/2,304

240,000

redis.proxy.xu1.large.16

24

24

3

30,000/30,000

2,304/2,304

240,000

redis.proxy.xu1.large.24

32

32

3

30,000/30,000

2,304/2,304

240,000

redis.proxy.xu1.large.32

48

48

6

60,000/60,000

4,608/4,608

480,000

redis.proxy.xu1.large.48

64

64

8

80,000/80,000

6,144/6,144

640,000

redis.proxy.xu1.large.64

96

96

12

120,000/120,000

9,216/9,216

960,000

redis.proxy.xu1.large.96

128

128

16

160,000/160,000

10,000/10,000

1,280,000

redis.proxy.xu1.large.128

192

192

24

200,000/240,000

10,000/10,000

1,920,000

redis.proxy.xu1.large.192

256

256

32

200,000/320,000

10,000/10,000

> 2,000,000

redis.proxy.xu1.large.256

384

384

48

200,000/480,000

10,000/10,000

> 2,000,000

redis.proxy.xu1.large.384

512

512

64

200,000/500,000

10,000/10,000

> 2,000,000

redis.proxy.xu1.large.512

768

768

96

200,000/500,000

10,000/10,000

> 2,000,000

redis.proxy.xu1.large.768

1024

1024

128

200,000/500,000

10,000/10,000

> 2,000,000

redis.proxy.xu1.large.1024

2048

2048

128

200,000/500,000

10,000/10,000

> 2,000,000

redis.proxy.xu1.large.2048

Basic Edition, Redis Cluster

  • Specification code: Table 4 only lists the specification codes of instances with 2 replicas (default). The specification names reflect the number of replicas, for example, redis.cluster.xu1.large.r2.4 (2 replicas | 4 GB) and redis.cluster.xu1.large.r1.4 (1 replica | 4 GB).
  • IP addresses: Number of occupied IP addresses = Number of shards x Number of replicas. For example:

    24 GB | Redis Cluster | 2 replicas: Number of occupied IP addresses = 3 x 2 = 6

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

    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 limit per node = Maximum connections limit/Master node quantity. For example:

    For example, a 24 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.

  • The following table lists only the Redis Cluster instance specifications with default shards. If you customize shards, see the maximum number of connections, assured/maximum bandwidth, and product specification code (flavor) in the Instance Specification table the Buy DCS Instance page of the DCS console.
  • The maximum connections of a cluster is for the entire instance, and not for a single shard. Maximum connections of a single shard = Maximum connections of an instance/Number of shards.
  • The maximum bandwidth and assured bandwidth of a cluster is for the entire instance, and not for a single shard. The relationship between the instance bandwidth and the bandwidth of a single shard is as follows:
    • Instance bandwidth = Bandwidth of a single shard x Number of shards
    • For a cluster instance, if the memory of a single shard is 1 GB, the bandwidth of a single shard is 384 Mbit/s. If the memory of a single shard is greater than 1 GB, the bandwidth of a single shard is 768 Mbit/s.
Table 4 Specifications of Redis Cluster DCS Redis 6.0 basic edition 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

30,000/150,000

2304/2304

240,000

redis.cluster.xu1.large.r2.4

8

8

3

30,000/150,000

2304/2304

240,000

redis.cluster.xu1.large.r2.8

16

16

3

30,000/150,000

2304/2304

240,000

redis.cluster.xu1.large.r2.16

24

24

3

30,000/150,000

2304/2304

300,000

redis.cluster.xu1.large.r2.24

32

32

3

30,000/150,000

2304/2304

300,000

redis.cluster.xu1.large.r2.32

48

48

6

60,000/300,000

4608/4608

> 300,000

redis.cluster.xu1.large.r2.48

64

64

8

80,000/400,000

6144/6144

500,000

redis.cluster.xu1.large.r2.64

96

96

12

120,000/600,000

9216/9216

> 500,000

redis.cluster.xu1.large.r2.96

128

128

16

160,000/800,000

12,288/12,288

1,000,000

redis.cluster.xu1.large.r2.128

192

192

24

240,000/1,200,000

18,432/18,432

> 1,000,000

redis.cluster.xu1.large.r2.192

256

256

32

320,000/1,600,000

24,576/24,576

> 2,000,000

redis.cluster.xu1.large.r2.256

384

384

48

480,000/2,400,000

36,864/36,864

> 2,000,000

redis.cluster.xu1.large.r2.384

512

512

64

640,000/3,200,000

49,152/49,152

> 2,000,000

redis.cluster.xu1.large.r2.512

768

768

96

960,000/4,800,000

73,728/73,728

> 2,000,000

redis.cluster.xu1.large.r2.768

1024

1024

128

1,280,000/6,400,000

98,304/98,304

> 2,000,000

redis.cluster.xu1.large.r2.1024

2048

2048

128

2,560,000/12,800,000

98,304/98,304

> 2,000,000

redis.cluster.xu1.large.r2.2048

Basic Edition Read/Write Splitting

  • For details about the specifications of read/write splitting instances, see Table 5.
  • The maximum connections of a read/write splitting DCS Redis instance cannot be modified.
  • Bandwidth limit per Redis Server (MB/s) = Total bandwidth limit (MB/s)/Number of replicas (including masters)
  • Reference performance per node (QPS) = Reference performance (QPS)/Number of replicas (including masters)
  • When using read/write splitting instances, note the following:
    1. Read requests are sent to replicas. There is a delay when data is synchronized from the master to the replicas.

      If your services are sensitive to the delay, do not use read/write splitting instances. Instead, you can use master/standby or cluster instances.

    2. Read/write splitting is suitable when there are more read requests than write requests. If there are a lot of write requests, the master and replicas may be disconnected, or the data synchronization between them may fail after the disconnection. As a result, the read performance deteriorates.

      If your services are write-heavy, use master/standby or cluster instances.

    3. If a replica is faulty, it takes some time to synchronize all data from the master. During the synchronization, the replica does not provide services, and the read performance of the instance deteriorates.

      To reduce the impact of the interruption, use an instance with less than 32 GB memory. The smaller the memory, the shorter the time for full data synchronization between the master and replicas, and the smaller the impact of the interruption.

Table 5 Read/Write splitting DCS Redis 6.0 instance specifications

Total Memory

Available Memory (GB)

Replicas (Including Masters)

Max. Connections (Default/Limit)

Bandwidth Limit (MB/s)

Bandwidth Limit per Redis Server (MB/s)

Reference Performance (QPS)

Reference Performance per Node (QPS)

Specification Code (spec_code in the API)

8

8

2

20,000

192

96

160,000

80,000

redis.ha.xu1.large.p2.8

8

8

3

30,000

288

96

240,000

80,000

redis.ha.xu1.large.p3.8

8

8

4

40,000

384

96

320,000

80,000

redis.ha.xu1.large.p4.8

8

8

5

50,000

480

96

400,000

80,000

redis.ha.xu1.large.p5.8

8

8

6

60,000

576

96

480,000

80,000

redis.ha.xu1.large.p6.8

16

16

2

20,000

192

96

160,000

80,000

redis.ha.xu1.large.p2.16

16

16

3

30,000

288

96

240,000

80,000

redis.ha.xu1.large.p3.16

16

16

4

40,000

384

96

320,000

80,000

redis.ha.xu1.large.p4.16

16

16

5

50,000

480

96

400,000

80,000

redis.ha.xu1.large.p5.16

16

16

6

60,000

576

96

480,000

80,000

redis.ha.xu1.large.p6.16

32

32

2

20,000

192

96

160,000

80,000

redis.ha.xu1.large.p2.32

32

32

3

30,000

288

96

240,000

80,000

redis.ha.xu1.large.p3.32

32

32

4

40,000

384

96

320,000

80,000

redis.ha.xu1.large.p4.32

32

32

5

50,000

480

96

400,000

80,000

redis.ha.xu1.large.p5.32

32

32

6

60,000

576

96

480,000

80,000

redis.ha.xu1.large.p6.32

64

64

2

20,000

192

96

160,000

80,000

redis.ha.xu1.large.p2.64

64

64

3

30,000

288

96

240,000

80,000

redis.ha.xu1.large.p3.64

64

64

4

40,000

384

96

320,000

80,000

redis.ha.xu1.large.p4.64

64

64

5

50,000

480

96

400,000

80,000

redis.ha.xu1.large.p5.64

64

64

6

60,000

576

96

480,000

80,000

redis.ha.xu1.large.p6.64

Professional (Performance) Edition

Currently, DCS for Redis 6.0 professional (performance) edition supports master/standby instances based on x86 CPUs.

Table 6 Specifications of DCS Redis 6.0 professional (performance) edition 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)

8

8

10,000/50,000

1536/1536

400,000

redis.ha.xu1.large.enthp.8

16

16

10,000/50,000

1536/1536

400,000

redis.ha.xu1.large.enthp.16

32

32

10,000/50,000

1536/1536

400,000

redis.ha.xu1.large.enthp.32

64

64

10,000/50,000

1536/1536

400,000

redis.ha.xu1.large.enthp.64

Professional (Storage) Edition

Currently, DCS for Redis 6.0 professional (storage) edition supports master/standby instances based on x86 CPUs.

Professional (storage) instances use memory and SSDs. They use memory to cache hot data and SSDs to store all data. "Available Memory" in the following table is the disk capacity.

Table 7 Specifications of DCS Redis 6.0 professional (storage) edition instances

Total Memory

(GB)

Maximum Storage

(GB)

Max. Connections (Default/Limit)

(Count)

Assured/Maximum Bandwidth

(Mbit/s)

Reference Performance

(QPS)

Specification Code (spec_code in the API)

8

64

10,000/50,000

768/768

70,000

redis.ha.xu1.large.entst.8

16

128

10,000/50,000

768/768

70,000

redis.ha.xu1.large.entst.16

32

256

10,000/50,000

768/768

70,000

redis.ha.xu1.large.entst.32