Live data from Hacker News

Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

github.com

1–10 of 63 posts

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#2
Dispatch-proxy lets you boot a proxy on your machine that dispatches every incoming connection to a different network interface.

The possibilities are endless:

* download a file through threaded downloading, effectively combining multiple connections' speed in one single file download,

* create two proxies, assign to each its own interface, and run two apps simultaneously that use a different interface,

* create a hotspot proxy at home that connects through Ethernet and your 4G card for all your mobile devices,

* etc.

Here are some instructions to quickly get started with using the proxy:

1) INSTALLATION

* Install Node.JS (http://nodejs.org/).

* Launch a terminal.

* Run the command `npm install -g dispatch-proxy` as a power user and press Enter. It will install the `dispatch` command-line utility.

2) STARTING AN HTTP PROXY

* To quickly start an HTTP proxy, run `dispatch start --http`.

* The program will print the proxy address and port (by default localhost:8080) as well as the list of local addresses the program will be dispatching requests to.

* Configure your system to use the combination address:port as an HTTP proxy.

3) LISTING ALL AVAILABLE NETWORK INTERFACES

* To list all available network interfaces, run `dispatch list`

* Each available network interface will be printed with a list of addresses.

* Right now, the dispatch utility only supports IPv4 addresses.

* If an address is marked to be "internal", then you won't be able to use it to connect to the internet.

I encourage you to read the docs https://github.com/Morhaus/dispatch-proxy.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#3
post #2

Dispatch-proxy lets you boot a proxy on your machine that dispatches every incoming connection to a different network interface. The possibilities are endless: * download a file through threaded downloading, effectively combining multiple connections' speed in one single file download, * create two proxies, assign to each its own interface, and run two apps simultaneously that use a different interface, * create a ho…

You should really consider to put those use-cases in your readme too! :)

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#5
post #3
post #2

Dispatch-proxy lets you boot a proxy on your machine that dispatches every incoming connection to a different network interface. The possibilities are endless: * download a file through threaded downloading, effectively combining multiple connections' speed in one single file download, * create two proxies, assign to each its own interface, and run two apps simultaneously that use a different interface, * create a ho…

You should really consider to put those use-cases in your readme too! :)

Just did, thanks for the input!

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#6

Does this do bonding at the packet level, or at the TCP level? Outcome being, if I download one particular file over HTTP will it run N times as fast, or are you just increasing the total speed available for many connections?

At the TCP level.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#8
Since uncapped 3G is pretty common where I live, I've always thought to build something similar but without never finding the time to do it. This will also be great for load balancing my network the next time I gather to play some online-games with my friends.

Any idea will the proxy still be available if one of the connections drops? Like if my broadband cuts out (like it does on a daily basis) will the cellular data automatically take over?

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#9
post #8

Since uncapped 3G is pretty common where I live, I've always thought to build something similar but without never finding the time to do it. This will also be great for load balancing my network the next time I gather to play some online-games with my friends. Any idea will the proxy still be available if one of the connections drops? Like if my broadband cuts out (like it does on a daily basis) will the cellular dat…

For now, the proxy will still try to dispatch sockets to every network interfaces specified at launch. But such a feature could perfectly be implemented.
Post reply on HN