-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
支持mux协议吗? #49
Comments
谢谢建议,多路复用存在网络环境不是太好的情况下不能充分利用带宽的问题,暂时还是保持连接池的方式保证连接复用 |
连接池的方式适合大量短连接, 不适合长时间连接, 比如连续连接12个小时那种, 希望能加上多路复用, 希望加个开关, 供客户选择 |
大佬smux加上了吗? 建议看下这2个开源软件: 内网穿透,分为两个版本,“多链接版本”和“多路复用版本”,一般像web服务这种不是长时间连接的服务建议用“多链接版本”,如果是要保持长时间连接建议使用“多路复用版本”。 从 v0.10.0 版本开始,客户端和服务器端之间的连接支持多路复用,不再需要为每一个用户请求创建一个连接,使连接建立的延迟降低,并且避免了大量文件描述符的占用,使 frp 可以承载更高的并发数。 |
@hijk1234 |
加了heatbeat心跳机制后 , 还需要加mux协议,
这样才能彻底解决 , 感知tcp健康状态,的问题 ,保持长时间连接建议使用“多路复用”
https://github.com/xtaci/smux
The text was updated successfully, but these errors were encountered: