GithubHelp home page GithubHelp logo

Comments (2)

EddieIvan01 avatar EddieIvan01 commented on June 18, 2024

因为现有的五种模式都是可以不成对使用的(要兼容直接与其他socket连接),所以要实现你的需求需要添加新的转发模式,而且新添加的模式必须成对使用才能完成逻辑信道的编解码

例如

./iox fwd -mux -l 1080 -r 127.0.0.1:9999
./iox proxy -mux -l 9999

这样的做法实际上是把不同的功能集成在同一个工具上,会导致臃肿和增加不必要的复杂度,我希望该工具能保持精简便携


另,在我看来唯一有必要加入multiplexing的功能是remote proxy,通过一条socket完成控制和传输,所以需要权衡的是:

Advantages:

  • 减少创建连接的损耗,提升性能
  • 减少ESTABLISHED连接数,提高隐蔽性

Disadvantages:

  • 引入第三方库可能带来不稳定
  • 二进制文件体积膨胀
  • (?) 共用一个物理连接,在流量过大时是否会影响性能

from iox.

EddieIvan01 avatar EddieIvan01 commented on June 18, 2024

0db18f3
v0.4在反向代理中添加TCP多路复用

from iox.

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.