Redis4.0/5.0实例 读写分离实例 读写分离实例当前只支持x86 CPU类型,具体规格如表。 Redis 4.0和Redis 5.0 读写分离实例的连接数限制暂不支持修改。 单个数据节点带宽限制(MB/s)总带宽限制(MB/s)/副本数(主+从)。 单个节点参考性能(QPS)参考性能(QPS)/副本数(主+从)。 读写分离实例使用限制: 读写分离实例读请求会发送到从节点,从节点从主节点同步数据会有一定的时延。 请确保业务侧不依赖主从同步的时延,如果对主从同步时延有依赖的场景,不适用读写分离实例,请考虑主备或集群。 读写分离实例适用于写少读多的场景,如果写流量过大,可能导致主从断连,或断连后主从同步失败,导致读请求性能下降。 写流量大的场景请考虑主备或集群 。 从节点故障后,需要一定的时间从主节点全量同步数据,同步数据期间,从节点不对外提供服务,此时实例读请求性能会下降。 推荐使用<32G内存规格的实例,内存规格越小,主从全量同步数据时间越少,同步断链时间越短。 Redis 4.0和Redis 5.0 读写分离实例产品规格 规格 实例可使用内存 (GB) 副本数 ( 主 + 从 ) 连接数限制 ( 默认 / 最大可配 ) 总带宽限制 (MB/s) 单个数据节点带宽限制 (MB/s) 参考性能 单个节点参考性能 (QPS) 产品规格编码 (对应 API的speccode) 8 8 2 20,000 192 96 160,000 80,000 redis.ha.xu1.large.p2.8 8 8 3 30,000 288 96 240,000 80,000 redis.ha.xu1.large.p3.8 8 8 4 40,000 384 96 320,000 80,000 redis.ha.xu1.large.p4.8 8 8 5 50,000 480 96 400,000 80,000 redis.ha.xu1.large.p5.8 8 8 6 60,000 576 96 480,000 80,000 redis.ha.xu1.large.p6.8 16 16 2 20,000 192 96 160,000 80,000 redis.ha.xu1.large.p2.16 16 16 3 30,000 288 96 240,000 80,000 redis.ha.xu1.large.p3.16 16 16 4 40,000 384 96 320,000 80,000 redis.ha.xu1.large.p4.16 16 16 5 50,000 480 96 400,000 80,000 redis.ha.xu1.large.p5.16 16 16 6 60,000 576 96 480,000 80,000 redis.ha.xu1.large.p6.16 32 32 2 20,000 192 96 160,000 80,000 redis.ha.xu1.large.p2.32 32 32 3 30,000 288 96 240,000 80,000 redis.ha.xu1.large.p3.32 32 32 4 40,000 384 96 320,000 80,000 redis.ha.xu1.large.p4.32 32 32 5 50,000 480 96 400,000 80,000 redis.ha.xu1.large.p5.32 32 32 6 60,000 576 96 480,000 80,000 redis.ha.xu1.large.p6.32