LATENCY MONITOR部分:
1.延迟监视器:
# The Redis latency monitoring subsystem samples different operations
# at runtime in order to collect data related to possible sources of
# latency of a Redis instance.
#
# Via the LATENCY command this information is available to the user that can
# print graphs and obtain reports.
#
# The system only logs operations that were performed in a time equal or
# greater than the amount of milliseconds specified via the
# latency-monitor-threshold configuration directive. When its value is set
# to zero, the latency monitor is turned off.
#
# By default latency monitoring is disabled since it is mostly not needed
# if you don't have latency issues, and collecting data has a performance
# impact, that while very small, can be measured under big load. Latency
# monitoring can easily be enabled at runtime using the command
# "CONFIG SET latency-monitor-threshold <milliseconds>" if needed.
latency-monitor-threshold 0
Redis延迟监视子系统在运行时对不同的操作进行采样,以便收集与Redis实例的可能延迟源相关的数据;
通过延迟命令,用户可以使用此信息打印图表和获取报告;
系统只记录在等于或大于通过延迟监视器阈值配置指令指定的毫秒数的时间内执行的操作。当其值设置为零时,延迟监视器将关闭;
默认情况下,延迟监视是禁用的,因为如果没有延迟问题,则通常不需要它,而且收集数据会对性能产生影响,虽然影响很小,但可以在大负载下测量。如果需要,可以在运行时使用命令“CONFIG SET Latency monitor threshold<millishes>”轻松启用延迟监视;
网友评论