Redis社区版云原生版实例规格
本章节介绍云数据库Redis社区版云原生实例的规格,包含内存容量、连接数、带宽、QPS参考值等信息。
实例规格
下表为单个分片的规格,集群架构、读写分离架构实例的整体性能为:分片规格性能 * 分片数。
非集群架构(标准架构)的分片规格
非集群架构即为标准架构,以下规格适用于非集群架构的云原生实例。
规格名称 | 规格代码(API使用) | CPU核数 | 内存(GB) | ESSD云盘(GB) | 带宽(MB/s) | 最大连接数 | QPS参考值 |
256 MB社区版 | redis.shard.micro.ce | 2 | 0.25 | 1.25 | 24 | 10,000 | 100,000 |
1 GB社区版 | redis.shard.small.2.ce | 2 | 1 | 5 | 48 | 10,000 | 100,000 |
2 GB社区版 | redis.shard.mid.2.ce | 2 | 2 | 10 | 96 | 10,000 | 100,000 |
4 GB社区版 | redis.shard.large.ce | 2 | 4 | 20 | 96 | 10,000 | 100,000 |
8 GB社区版 | redis.shard.xlarge.ce | 2 | 8 | 40 | 96 | 10,000 | 100,000 |
16 GB社区版 | redis.shard.2xlarge.ce | 2 | 16 | 80 | 96 | 10,000 | 100,000 |
24 GB社区版 | redis.shard.3xlarge.ce | 2 | 24 | 120 | 96 | 10,000 | 100,000 |
32 GB社区版 | redis.shard.4xlarge.ce | 2 | 32 | 160 | 96 | 10,000 | 100,000 |
64 GB社区版 | redis.shard.8xlarge.ce | 2 | 64 | 320 | 96 | 10,000 | 100,000 |
集群架构直连模式的分片规格
以下规格适用于集群架构直连模式的云原生实例。
规格名称 | 规格代码(API使用) | CPU核数 | 内存(GB) | ESSD云盘(GB) | 带宽(MB/s) | 最大连接数 | QPS参考值 |
1 GB社区版 | redis.shard.small.ce | 2 | 1 | 5 | 48 | 10,000 | 100,000 |
2 GB社区版 | redis.shard.mid.ce | 2 | 2 | 10 | 96 | 10,000 | 100,000 |
4 GB社区版 | redis.shard.large.ce | 2 | 4 | 20 | 96 | 10,000 | 100,000 |
8 GB社区版 | redis.shard.xlarge.ce | 2 | 8 | 40 | 96 | 10,000 | 100,000 |
16 GB社区版 | redis.shard.2xlarge.ce | 2 | 16 | 80 | 96 | 10,000 | 100,000 |
24 GB社区版 | redis.shard.3xlarge.ce | 2 | 24 | 120 | 96 | 10,000 | 100,000 |
32 GB社区版 | redis.shard.4xlarge.ce | 2 | 32 | 160 | 96 | 10,000 | 100,000 |
64 GB社区版 | redis.shard.8xlarge.ce | 2 | 64 | 320 | 96 | 10,000 | 100,000 |
集群架构代理模式与读写分离架构的分片规格
以下规格适用于集群架构代理模式与读写分离架构的云原生实例。
规格名称 | 规格代码(API使用) | CPU核数 | 内存(GB) | ESSD云盘(GB) | 带宽(MB/s) | 最大连接数 | QPS参考值 |
1 GB社区版 | redis.shard.with.proxy.small.ce | 2 | 1 | 5 | 48 | 10,000 | 100,000 |
2 GB社区版 | redis.shard.with.proxy.mid.ce | 2 | 2 | 10 | 96 | 10,000 | 100,000 |
4 GB社区版 | redis.shard.with.proxy.large.ce | 2 | 4 | 20 | 96 | 10,000 | 100,000 |
8 GB社区版 | redis.shard.with.proxy.xlarge.ce | 2 | 8 | 40 | 96 | 10,000 | 100,000 |
16 GB社区版 | redis.shard.with.proxy.2xlarge.ce | 2 | 16 | 80 | 96 | 10,000 | 100,000 |
24 GB社区版 | redis.shard.with.proxy.3xlarge.ce | 2 | 24 | 120 | 96 | 10,000 | 100,000 |
32 GB社区版 | redis.shard.with.proxy.4xlarge.ce | 2 | 32 | 160 | 96 | 10,000 | 100,000 |
64 GB社区版 | redis.shard.with.proxy.8xlarge.ce | 2 | 64 | 320 | 96 | 10,000 | 100,000 |
性能说明
架构 | 性能说明 |
实例整体的性能与实例规格表中对应的性能一致。 | |
实例整体的性能 = 分片规格的性能 * 分片数。 例如实例具备4个分片,分片的规格为redis.shard.with.proxy.small.ce,每个分片的性能为:
那么,该实例的整体性能即为:
|
CPU核数说明
带宽说明
上表中的带宽值是单个分片的带宽,集群架构、读写分离架构实例的总带宽为所有分片节点带宽的总和。
集群架构代理模式的带宽上限为2,048 MB/s,达到该上限后,即使增加分片数量,带宽也不会提高。集群架构直连模式无整体带宽限制。
带宽分别应用于上行带宽和下行带宽,如果某规格的总带宽为24 MB,则该规格实例的上下行带宽都是24 MB。
表中的带宽为Redis实例的内网带宽。外网带宽取决于内网带宽,同时受到Redis实例与客户端之间的网络带宽限制,建议使用内网连接方式,排除外网影响,发挥最大的带宽性能。
连接数计算规则
类别 | 说明 |
最大连接数 |
|
每秒新建连接数 | 每秒新建连接数上限即每秒内可新增的连接数量。例如实例的每秒新建连接数上限为10,000,连接数上限为50,000,实例运行后的第n秒的实际连接数为12,000,则第n+1秒时的连接数最大为只能为22,000(即12,000+10,000)。 说明 当您通过直连地址连接实例时,由于绕过了代理节点,连接性能有一定的下降,单个数据分片的每秒新建连接数上限为2,000。例如实例具备4个数据分片,则整体的每秒新建连接数上限为8,000。 |
常见问题
问:为什么实例的实际带宽与文档不一致?
答:部分规格的带宽可能因产品升级发生变化。如果发现实例的带宽与本章节的说明不同,请变更实例配置以更新带宽,变配时选择与当前相同的规格为变配目标即可,操作说明请参见变更实例配置。