We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug 描述
The text was updated successfully, but these errors were encountered:
按照map缓存channel的思路,我用测试工具发起了几百个连接然后断开,发现map的size会大于实际的有效channel个数,这个问题如何解决。
这个数量理论上是一致的,但出现网络抖动导致 channelInactive 函数无法触发就可能会导致大于实际数量。
channelInactive
但其实服务端也有心跳检测机制,超过一段时间没有上报心跳的客户端会被踢初,所以这个数据是最终一致的。
2.请问源码里面有消息限流功能吗,针对全局消息速率限流,针对单个channel消息速率限流。想尽量以服务端稳定为主。感谢
暂不支持,后续会考虑加入。
Sorry, something went wrong.
ConcurrentHashMap
Channel
Server
Redis
route
No branches or pull requests
Bug 描述
The text was updated successfully, but these errors were encountered: