Giter VIP home page Giter VIP logo

Comments (4)

ffay avatar ffay commented on May 18, 2024

谢谢建议,多路复用存在网络环境不是太好的情况下不能充分利用带宽的问题,暂时还是保持连接池的方式保证连接复用

from lanproxy.

hijk1234 avatar hijk1234 commented on May 18, 2024

连接池的方式适合大量短连接, 不适合长时间连接, 比如连续连接12个小时那种, 希望能加上多路复用, 希望加个开关, 供客户选择

from lanproxy.

hijk1234 avatar hijk1234 commented on May 18, 2024

大佬smux加上了吗? 建议看下这2个开源软件:
https://github.com/fatedier/frp
https://github.com/snail007/goproxy
都加了smux协议

内网穿透,分为两个版本,“多链接版本”和“多路复用版本”,一般像web服务这种不是长时间连接的服务建议用“多链接版本”,如果是要保持长时间连接建议使用“多路复用版本”。

从 v0.10.0 版本开始,客户端和服务器端之间的连接支持多路复用,不再需要为每一个用户请求创建一个连接,使连接建立的延迟降低,并且避免了大量文件描述符的占用,使 frp 可以承载更高的并发数。

from lanproxy.

ffay avatar ffay commented on May 18, 2024

@hijk1234
暂时没有太多的时间增加smux(也觉得没有必要,目前主要专注于易用性以及稳定性),lanproxy的定位是用于测试以及小规模应用(单台服务器可以支持2-3W长连接),如果有更大规模的应用完全有理由不使用内网穿透。
如果服务器在国外,可以在服务器和客户端中间加个kcptun
最后,如果有兴趣,可以将lanproxy与其他功能丰富的内网穿透工具做个性能测试对比

from lanproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.