This topic describes the specifications of master-replica cluster instances of ApsaraDB for Redis Community Edition, such as the memory capacity, number of concurrent connections to each instance, maximum internal bandwidth, and QPS reference value.
|Instance type||InstanceClass (API operation)||Number of shards||Maximum number of new connections per second||Maximum number of concurrent connections||Bandwidth (MB/s)||QPS reference value|
|16 GB cluster instance||redis.logic.sharding.2g.8db.0rodb.8proxy.default||8||50000||80000||768||640000|
|32 GB cluster instance||redis.logic.sharding.4g.8db.0rodb.8proxy.default||8||50000||80000||768||640000|
|64 GB cluster instance||redis.logic.sharding.8g.8db.0rodb.8proxy.default||8||50000||80000||768||640000|
|128 GB cluster instance||redis.logic.sharding.8g.16db.0rodb.16proxy.default||16||50000||160000||1536||1280000|
|256 GB cluster instance||redis.logic.sharding.16g.16db.0rodb.16proxy.default||16||50000||160000||1536||1280000|
|512 GB cluster instance||redis.logic.sharding.16g.32db.0rodb.32proxy.default||32||50000||320000||2048||2560000|
Bandwidth calculation rules
- If network resources are sufficient, Apsaradb for Redis instances do not have bandwidth limits. However, if network resources are insufficient, the limits in the above table take effect.
- The bandwidth value in the table represents the bandwidth of the instance, that is, the total bandwidth of all shards or nodes in the instance.
- The maximum bandwidth of an instance (including all shards or nodes) is 2,048 MB. Bandwidth does not increase even if the number of shards or nodes increases.
- The bandwidth applies to the upstream bandwidth and the downstream bandwidth respectively. If the bandwidth of an instance is 10 MB/s, the upstream and downstream bandwidth of the instance are both 10 MB/s.
- The bandwidth in the table is the internal bandwidth of the Redis instance. The Internet bandwidth is determined by the internal bandwidth and is limited by the bandwidth of the connection between the Redis instance and the client. We recommend that you connect to the instance over an internal network to maximize its performance.
Connection number calculation rules
- The following example explains the maximum number of new connections per second: If the maximum number of new connections per second of an instance is 10000, the actual number of concurrent connections at the Nth second after the instance starts to run is 12000, at the (N+1)th second, the actual number of concurrent connections is 22000, then the number of new connections within that second is 22000-12000=10000, which is not greater than the maximum number of new connections per second.
- The maximum number of new connections per second and the maximum number of concorrent connections are the sum of the corresponding values of all shards or nodes in the instance. After 500000 is reached, the maximum number of concorrent connections is not increased even if the number of shards or nodes is increased.
Q: Why does the bandwidth of my instance differ from that of the same instance described in this topic?
A: The bandwidth of some instance types may be adjusted after service upgrades. If the bandwidth of your instance is different than those described in this topic, refer to Modify instance configurations (You are not charged for the same instance type).