GithubHelp home page GithubHelp logo

Comments (3)

clue avatar clue commented on August 23, 2024

Hi @ethaniel, I like this idea! 👍

send out pings […]

Sending out pings (ICMP echo requests) requires root privileges, so I'm not sure this is something that many people would like to use :)

Here's my suggested alternative:

When a new connection is being established, send […] through all available network interfaces (that will be the primary connection + the VPN connection) […] establish the outgoing socket through the faster interface. It adds a little overhead to every new connection, but the resulting speeds can be faster.

In other words: We can concurrently try to open the connection through multiple connectors and just pick the fastest connector. Note that this will (wastefully) open quite a few TCP connections that are not needed, but depending on your needs you may or may not notice this.

In the future, we may look into adding some kind of smarter heuristic to pick the right connector to begin with, however I'm not sure what we should base this on.

In the meantime and/or as an alternative, you may also (manually) set up separate rules for your common services where you know which connector is the fastest.

from psocksd.

clue avatar clue commented on August 23, 2024

The required connector has been implemented via clue/reactphp-connection-manager-extra#10

This means this could now be relied upon here.

My main issue currently is how should the user configure this behavior?

from psocksd.

clue avatar clue commented on August 23, 2024

I still think that this feature makes perfect sense 👍 However, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I would be really happy to accept PRs 👍

(If you need this for a commercial project and you want a quote, please check out my profile and send me an email)

from psocksd.

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.