Instance types for Redis Open-Source Edition cloud native instances

Updated at:

This topic describes the instance types for Redis Open-Source Edition cloud native instances, including memory capacity, CPU cores, network bandwidth, maximum connections, and QPS reference values.

Instance types

The following tables list the specifications for a single shard. For cluster architecture or read/write splitting instances, the overall performance is: shard performance × number of shards.

Note
  • The ESSD cloud disk in the specifications is used only for system operations such as storing logs, temporary backup files, and append-only files (AOF). It is not used for data storage.

  • For information about the differences between direct connection mode and proxy mode, see Cluster architecture.

  • Cloud native instances in cluster architecture support adjustable shard counts. For more information, see Adjust the number of shards for a cluster instance.

Shard specifications for non-cluster architecture (standard architecture)

Non-cluster architecture is also known as standard architecture. The following specifications apply to cloud native instances that use the standard architecture.

Note

If read/write splitting is enabled for a standard architecture instance, see Shard specifications for read/write splitting architecture.

Instance type name

Instance type code (for API calls)

CPU cores

Memory (GB)

ESSD (GB)

Bandwidth

Maximum connections

Reference QPS

256 MB (No longer available for purchase)

redis.shard.micro.ce

3

0.25

1

192 Mbps (24 MB/s)

10,000

100,000

1 GB

redis.shard.small.2.ce

3

1

5

384 Mbps (48 MB/s)

10,000

100,000

2 GB

redis.shard.mid.2.ce

3

2

10

768 Mbps (96 MB/s)

10,000

100,000

4 GB

redis.shard.large.ce

3

4

20

768 Mbps (96 MB/s)

20,000

100,000

8 GB

redis.shard.xlarge.ce

3

8

40

768 Mbps (96 MB/s)

20,000

100,000

16 GB

redis.shard.2xlarge.ce

3

16

80

768 Mbps (96 MB/s)

20,000

100,000

24 GB

redis.shard.3xlarge.ce

3

24

120

768 Mbps (96 MB/s)

30,000

100,000

32 GB

redis.shard.4xlarge.ce

3

32

160

768 Mbps (96 MB/s)

30,000

100,000

64 GB

redis.shard.8xlarge.ce

3

64

320

768 Mbps (96 MB/s)

30,000

100,000

Shard specifications for cluster architecture in direct connection mode

The following specifications apply to cloud native instances that use the cluster architecture in direct connection mode.

Instance type name

Instance type code (for API calls)

CPU cores

Memory (GB)

ESSD (GB)

Bandwidth

Maximum connections

Reference QPS

1 GB

redis.shard.small.ce

3

1

5

384 Mbps (48 MB/s)

10,000

100,000

2 GB

redis.shard.mid.ce

3

2

10

768 Mbps (96 MB/s)

10,000

100,000

4 GB

redis.shard.large.ce

3

4

20

768 Mbps (96 MB/s)

20,000

100,000

8 GB

redis.shard.xlarge.ce

3

8

40

768 Mbps (96 MB/s)

20,000

100,000

16 GB

redis.shard.2xlarge.ce

3

16

80

768 Mbps (96 MB/s)

20,000

100,000

24 GB

redis.shard.3xlarge.ce

3

24

120

768 Mbps (96 MB/s)

30,000

100,000

32 GB

redis.shard.4xlarge.ce

3

32

160

768 Mbps (96 MB/s)

30,000

100,000

64 GB

redis.shard.8xlarge.ce

3

64

320

768 Mbps (96 MB/s)

30,000

100,000

Shard specifications for cluster architecture in proxy mode and read/write splitting architecture

The following specifications apply to cloud native instances that use the cluster architecture in proxy mode or the read/write splitting architecture.

Instance type name

Instance type code (for API calls)

CPU cores

Memory (GB)

ESSD (GB)

Bandwidth

Maximum connections

Reference QPS

1 GB

redis.shard.with.proxy.small.ce

3

1

5

384 Mbps (48 MB/s)

10,000

100,000

2 GB

redis.shard.with.proxy.mid.ce

3

2

10

768 Mbps (96 MB/s)

10,000

100,000

4 GB

redis.shard.with.proxy.large.ce

3

4

20

768 Mbps (96 MB/s)

20,000

100,000

8 GB

redis.shard.with.proxy.xlarge.ce

3

8

40

768 Mbps (96 MB/s)

20,000

100,000

16 GB

redis.shard.with.proxy.2xlarge.ce

3

16

80

768 Mbps (96 MB/s)

20,000

100,000

24 GB

redis.shard.with.proxy.3xlarge.ce

3

24

120

768 Mbps (96 MB/s)

30,000

100,000

32 GB

redis.shard.with.proxy.4xlarge.ce

3

32

160

768 Mbps (96 MB/s)

30,000

100,000

64 GB

redis.shard.with.proxy.8xlarge.ce

3

64

320

768 Mbps (96 MB/s)

30,000

100,000

Performance

Architecture

Performance

Standard architecture

The instance performance matches the values in the instance type table.

Cluster architecture in direct connection mode

Cluster architecture in proxy mode

Read/write splitting feature

Overall performance = shard performance × number of shards.

For example, an instance with four shards of the redis.shard.with.proxy.small.ce type has the following per-shard performance:

  • CPU cores: 2 working cores + 1 background core.

  • Bandwidth: 384 Mbps (48 MB/s).

  • Maximum connections: 10,000.

  • Reference QPS: 100,000.

The total instance performance is:

  • CPU cores: 12 cores.

  • Bandwidth: 1,536 Mbps (192 MB/s).

  • Maximum connections: 40,000.

  • Reference QPS: 400,000.

CPU cores

Each shard has three cores: two working cores and one background core. Working cores process user requests. The background core handles non-service tasks such as persistence, accelerated expiration, performance analysis, and logging.

Bandwidth

  • Bandwidth values in the tables are per shard. The total bandwidth of a cluster or read/write splitting instance equals the sum of all shard bandwidths.

  • Cluster proxy mode and read/write splitting instances have a maximum bandwidth of 16,384 Mbps (2,048 MB/s). Adding more shards does not increase bandwidth beyond this limit. Cluster direct connection mode has no overall bandwidth limit.

  • Bandwidth applies to both upstream and downstream traffic independently. For example, if an instance type has a bandwidth of 192 Mbps (24 MB/s), both the upstream and downstream bandwidth are 192 Mbps (24 MB/s).

  • The bandwidth limit for Tair and Redis Open-Source Edition refers to the bandwidth of shard nodes and is independent of the network connection type.

For more information, see Bandwidth FAQ.

Maximum connections

  • Proxy mode: Maximum connections per instance: 500,000. This limit does not increase even if you add more shards or nodes.

  • Direct connection mode: Maximum connections per shard: 10,000. Maximum connections per instance: number of shards × 10,000.

FAQ

Do Redis Open-Source Edition instances of different types differ in speed or performance?

The 256 MB and 1 GB Redis Open-Source Edition instances have a bandwidth lower than 768 Mbps (96 MB/s). Redis Open-Source Edition instances of 2 GB or larger share the same CPU and bandwidth specifications and differ only in memory capacity.