跳至主要内容

Amazon ElastiCache

Amazon ElastiCache for Redis — 增强型 I/O 多路复用

概述

Amazon ElastiCache for Redis 提供增强型 I/O 多路复用功能,以大规模显著提高吞吐量和降低延迟。增强型 I/O 多路复用功能非常适合于具有多个客户端连接的吞吐量限制型工作负载,其优势可以随工作负载并发水平而扩展。举个例子,在使用 r6g.xlarge 节点并运行 5200 个并发客户端时,与 ElastiCache for Redis 6 相比,您最多可以将吞吐量(每秒读写操作数)提高 72%,P99 延迟最多降低 71%。对于这些类型的工作负载,节点的网络 I/O 处理可能成为影响扩展能力的限制因素。借助增强型 I/O 多路复用,每个专用网络 I/O 线程会将来自多个客户端的命令传送到 Redis 引擎,从而充分利用 Redis 高效批量处理命令的能力,如下图所示:

在所有亚马逊云科技区域中,使用 Redis 7 时,将会自动免费提供增强型 I/O 多路复用功能。无需进行应用程序或服务配置更改即可使用 ElastiCache for Redis 增强型 I/O 多路复用功能。

有关更多信息,请参阅文档

Architecture diagram illustrating Amazon ElastiCache for Redis Enhanced IO Multiplexing. Multiple client connections are distributed across several enhanced IO multiplexing threads, each sending commands and receiving responses from the processing engine.