This topic describes the specifications of Redis Open-Source Edition cloud-native instances. The specifications include the memory capacity, CPU performance, maximum bandwidth, maximum number of connections, and queries per second (QPS) reference value.
Instance specifications
The following tables list the specifications of individual shards. The overall performance of a cluster or read/write splitting instance can be calculated by using the following formula: Overall performance = Performance of a single shard × Number of shards.
The Enterprise SSDs (ESSDs) listed in these tables are provided for dedicated storage of system files, such as logs, backups of temporary files, and append-only files (AOFs). They are not intended for data storage.
For information about the differences between the direct connection mode and the proxy mode that are supported by cluster instances, see Cluster master-replica instances.
Cloud-native cluster instances provide the flexibility to adjust the number of shards. For more information, see Adjust the number of shards for an instance.
Shard specifications of non-cluster instances
Non-cluster instances are standard instances. The specifications listed in the following table are applicable to cloud-native standard instances.
Specification type | InstanceClass value (used in API operations) | CPU cores | Memory (GB) | ESSD capacity (GB) | Bandwidth (Mbit/s) | Maximum connections | QPS reference value |
256 MB Community Edition | redis.shard.micro.ce | 2 | 0.25 | 1 | 24 | 10,000 | 100,000 |
1 GB Community Edition | redis.shard.small.2.ce | 2 | 1 | 5 | 48 | 10,000 | 100,000 |
2 GB Community Edition | redis.shard.mid.2.ce | 2 | 2 | 10 | 96 | 10,000 | 100,000 |
4 GB Community Edition | redis.shard.large.ce | 2 | 4 | 20 | 96 | 10,000 | 100,000 |
8 GB Community Edition | redis.shard.xlarge.ce | 2 | 8 | 40 | 96 | 10,000 | 100,000 |
16 GB Community Edition | redis.shard.2xlarge.ce | 2 | 16 | 80 | 96 | 10,000 | 100,000 |
24 GB Community Edition | redis.shard.3xlarge.ce | 2 | 24 | 120 | 96 | 10,000 | 100,000 |
32 GB Community Edition | redis.shard.4xlarge.ce | 2 | 32 | 160 | 96 | 10,000 | 100,000 |
64 GB Community Edition | redis.shard.8xlarge.ce | 2 | 64 | 320 | 96 | 10,000 | 100,000 |
Shard specifications of cluster instances in direct connection mode
The specifications listed in the following table are applicable to cloud-native cluster instances in direct connection mode.
Specification type | InstanceClass value (used in API operations) | CPU cores | Memory (GB) | ESSD capacity (GB) | Bandwidth (Mbit/s) | Maximum connections | QPS reference value |
1 GB Community Edition | redis.shard.small.ce | 2 | 1 | 5 | 48 | 10,000 | 100,000 |
2 GB Community Edition | redis.shard.mid.ce | 2 | 2 | 10 | 96 | 10,000 | 100,000 |
4 GB Community Edition | redis.shard.large.ce | 2 | 4 | 20 | 96 | 10,000 | 100,000 |
8 GB Community Edition | redis.shard.xlarge.ce | 2 | 8 | 40 | 96 | 10,000 | 100,000 |
16 GB Community Edition | redis.shard.2xlarge.ce | 2 | 16 | 80 | 96 | 10,000 | 100,000 |
24 GB Community Edition | redis.shard.3xlarge.ce | 2 | 24 | 120 | 96 | 10,000 | 100,000 |
32 GB Community Edition | redis.shard.4xlarge.ce | 2 | 32 | 160 | 96 | 10,000 | 100,000 |
64 GB Community Edition | redis.shard.8xlarge.ce | 2 | 64 | 320 | 96 | 10,000 | 100,000 |
Shard specifications of cluster instances in proxy mode and read/write splitting instances
The specifications listed in the following table are applicable to cloud-native cluster instances in proxy mode and cloud-native read/write splitting instances.
Specification type | InstanceClass value (used in API operations) | CPU cores | Memory (GB) | ESSD capacity (GB) | Bandwidth (Mbit/s) | Maximum connections | QPS reference value |
1 GB Community Edition | redis.shard.with.proxy.small.ce | 2 | 1 | 5 | 48 | 10,000 | 100,000 |
2 GB Community Edition | redis.shard.with.proxy.mid.ce | 2 | 2 | 10 | 96 | 10,000 | 100,000 |
4 GB Community Edition | redis.shard.with.proxy.large.ce | 2 | 4 | 20 | 96 | 10,000 | 100,000 |
8 GB Community Edition | redis.shard.with.proxy.xlarge.ce | 2 | 8 | 40 | 96 | 10,000 | 100,000 |
16 GB Community Edition | redis.shard.with.proxy.2xlarge.ce | 2 | 16 | 80 | 96 | 10,000 | 100,000 |
24 GB Community Edition | redis.shard.with.proxy.3xlarge.ce | 2 | 24 | 120 | 96 | 10,000 | 100,000 |
32 GB Community Edition | redis.shard.with.proxy.4xlarge.ce | 2 | 32 | 160 | 96 | 10,000 | 100,000 |
64 GB Community Edition | redis.shard.with.proxy.8xlarge.ce | 2 | 64 | 320 | 96 | 10,000 | 100,000 |
Performance description
Architecture | Performance description |
The overall performance of standard instances is the same as that described in Table 1. | |
Cluster architecture in direct connection mode | Overall performance of an instance = Performance of a shard × Number of shards. If an instance has four shards of the redis.shard.with.proxy.small.ce type, the following items show the performance of a single shard:
The following items show the performance of the instance:
|
Notes about CPU cores
To ensure service stability, the system reserves a CPU core to process background tasks . In a cluster instance or a read/write splitting instance, the system reserves a CPU core for each shard or read replica to process background tasks.
Bandwidth description
Each bandwidth value in the preceding tables represents the maximum bandwidth of a single shard. The total bandwidth of a cluster or read/write splitting instance is the combined bandwidth of all shards in the instance.
The maximum bandwidth of a cluster instance in proxy mode or a read/write splitting instance is 2,048 Mbit/s. After the upper limit is reached, the bandwidth cannot be increased even if you add more shards to the instance. Cluster instances in direct connection mode have no limits on the overall bandwidth.
The bandwidth value applies to the upstream and downstream bandwidths. For example, if the bandwidth of an instance is 24 Mbit/s, the upstream and downstream bandwidths of the instance are both 24 Mbit/s.
The bandwidth limits of Tair and Redis Open-Source Edition refer to the data transfer capacity of individual shards within their respective distributed systems. The limits are generally independent of the network connection types used by clients to connect to the shards.
For information about the FAQ about bandwidth, see FAQ about bandwidth.
Calculation rules for connections
Item | Description |
Maximum number of connections |
|
Maximum number of new connections per second | The maximum number of new connections per second refers to the upper limit on the number of connections that can be established per second. For example, the maximum number of new connections to an instance per second is 10,000, the maximum allowed number of connections to the instance is 50,000, and the actual number of connections at the Nth second after the instance starts to run is 12,000. In this case, the maximum number of connections at the (N+1)th second is 22,000. This value is calculated by using the following formula: 12,000 + 10,000. Note If the instance is connected in direct connection mode, connection performance degrades because proxy nodes are bypassed. For more information about the direct connection mode, see Enable the direct connection mode. The maximum number of new connections to a data shard per second is 2,000. If an instance has four data shards, the maximum number of new connections to the instance per second is 8,000. |