集群环境优化
优化您的集群环境以获得更好的性能。
Redis 企业软件 |
---|
Redis Enterprise Software 使用各种算法进行优化 性能。作为此过程的一部分,Redis Enterprise Software 会检查使用情况 和 load 调整其运行时配置。取决于 根据您的特定使用情况和负载,Redis Enterprise Software 可能需要一些 是时候调整以获得最佳性能了。
为了确保最佳性能,您必须多次运行工作负载 并持续很长时间,直到性能稳定下来。
故障检测敏感度策略
您可以使用failure_detection_sensitivity
集群策略:
-
high
(以前称为local-network watchdog_profile
) – 高故障检测灵敏度、更低的阈值以及更快的故障检测和故障转移 -
low
(以前称为cloud watchdog_profile
) – 故障检测灵敏度低,对延迟变化(也称为网络抖动)的容忍度较高
根据您选择的策略,Redis Enterprise Software 使用不同的 阈值来做出与作相关的决策。
默认策略为high
故障检测灵敏度local-network
环境。如果你是
在云环境中运行 Redis Enterprise,您应该更改
配置。
更改故障检测灵敏度
要将集群的failure_detection_sensitivity
中,运行以下rladmin
命令。
-
对于 Redis Enterprise Software 版本 6.4.2-69 及更高版本,请运行:
rladmin tune cluster failure_detection_sensitivity [ low | high ]
-
For Redis Enterprise Software version 6.4.2-61 and earlier, run:
rladmin tune cluster watchdog_profile [ cloud | local-network ]
If Redis Enterprise Software still
does not meet your performance expectations after following these instructions, contact support for help optimizing your environment.
On this page