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连接不上的情况下 关闭server的端口不接收请求? #147

Open
dw130 opened this issue Apr 19, 2019 · 3 comments

Comments

@dw130
Copy link

dw130 commented Apr 19, 2019

问题:
1 qps非常高
2 corvus检测到redis连接不上时,会触发refresh
3 refresh的时候应该停掉server,因为如果不停掉server的端口,在qps非常高的情况下,请求堆积,corvus内存瞬间就打爆了
4如果在corvus和redis连接不可用的情况下,关闭server端口,客户端能做到识别从而不往他发请求

@dw130
Copy link
Author

dw130 commented Apr 19, 2019

@doyoubi
check slave node status, server not connected: Operation now in progress (slot.c:162)

@dw130
Copy link
Author

dw130 commented Apr 19, 2019

@kols

@doyoubi
Copy link
Contributor

doyoubi commented Apr 24, 2019

可以算下单个线程qps是多少。corvus对这种情况做了限流,refresh时间很短,一般不会因为切换主从节点就打爆了。

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