This topic describes the specifications of standard master-replica instances of Apsaradb for Redis Community Standard Edition, such as the memory capacity, number of concurrent connections to each instance, maximum internal bandwidth, and queries per second (QPS) reference value.

Instance specifications

Instance type InstanceClass (used in API operations) Maximum number of new connections per second Maximum number of concurrent connections Bandwidth (MB/s) QPS reference value
256 MB master-replica instance redis.master.micro.default 10000 10000 10 80,000
1 GB master-replica instance redis.master.small.default 10000 10000 10 80,000
2 GB master-replica instance redis.master.mid.default 10000 10000 16 80,000
4 GB master-replica instance redis.master.stand.default 10000 10000 24 80,000
8 GB master-replica instance redis.master.large.default 10000 10000 24 80,000
16 GB master-replica instance redis.master.2xlarge.default 10000 10000 32 80,000
32 GB master-replica instance redis.master.4xlarge.default 10000 10000 32 80,000
64 GB master-replica instance redis.master.8xlarge.default 10000 10000 48 80,000

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.

FAQ

  • Why is the actual bandwidth of my instance different from the bandwidth described in the documentation?

    A: The bandwidth of certain specifications may change due to product upgrades. If the instance bandwidth is different from that in this topic, change instance configurations to update the bandwidth. You can select the same specification as the current instance, no extra cost is needed. For more information, see Modify instance configurations.

  • How do I create an instance with 256MB maximum memory?

    A: On the instance creation page, select the subscription billing method and you can find the 256MB type.