Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis热点key咨询 #5

Open
beifeng15 opened this issue Nov 2, 2020 · 1 comment
Open

redis热点key咨询 #5

beifeng15 opened this issue Nov 2, 2020 · 1 comment

Comments

@beifeng15
Copy link

您好,我想咨询您关于Redis 热点key的问题;
对于热点key的处理,应该什么时候去进行处理呢。是当某个redis的节点的那些性能指标出现下降的时候,在去做热点key的统计,然后在做处理吗?
1.热点key的处理时机?
2.判断处理热点key,应该考虑什么性能指标?

@modouxiansheng
Copy link
Owner

  1. 热key统计分为两种,一种是未知突发的,一种是已知需要提前预热的。未知突发的:热key统计一般来说要么就是在流量入口的网关处进行统计,然后下发MQ,有需要监控热key 的系统进行自行消费此MQ,要么就是在自己系统进行实时统计
  2. 判断处理热点key,应该考虑什么性能指标?你是想问怎么判断是不是热key吗?一般来说就是根据一定时间段的请求量来判断是不是热key 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants