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哨兵每次要建立2个socket连接? #23

Open
zonghaishang opened this issue Jan 18, 2018 · 0 comments
Open

为什么redis哨兵每次要建立2个socket连接? #23

zonghaishang opened this issue Jan 18, 2018 · 0 comments

Comments

@zonghaishang
Copy link

zonghaishang commented Jan 18, 2018

分别用于命令发送和订阅功能, 为什么不能通过共享同一个sockect连接实现?
书上说 为了不丢失__sentinel__:hello频道的任何信息,必须建立订阅连接接收, 没有理解丢不丢消息和几个连接有什么关系, 如果客户端下线或断网,建立几个都没用啊

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

1 participant