Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have arrived at the unusual situation of having two completely independent Internet connections to my home. This has the advantage of redundancy etc but the drawback that both connections max out at about 6Mb/s.

So one individual outbound http request is directed by my "intelligent gateway" (TP-LINK ER6120) out over one or the other connection for its lifetime. This works fine over complex web pages and utilises both external connects fine. However, single-http-request downloads are limited to the maximum rate of one of the two connections.

So I'm thinking, surely I can setup some kind of proxy server to direct all my http requests to. For each incoming http request, the proxy server will issue multiple byte-range requests for the desired data and manage the reassembly and delivery of that data to the client's request.

I can see this has some overhead, and also some edge cases where there will be blocking problems waiting for data. I also imagine webmasters of single-servers would rather I didn't hit them with 8 byte-range requests instead of one request.

How can I achieve this http request deconstruct/reconstruction? Or am I just barking mad?

share|improve this question
add comment

migrated from serverfault.com Nov 14 '12 at 22:10

This question came from our site for professional system and network administrators.

1 Answer

A quick search turns up axel-proxy, which apparently does exactly what you are asking for. It is somewhat uncommon to see an HTTP proxy implemented by a shell script, but there you go. :)

share|improve this answer
    
That is pretty near to what I wanted. It looks like the proxy part is fairly primitive, but it's a starting point. Many thanks. Out of curiosity, what did you search for? I had a hard time finding a good search term. –  redpola Nov 16 '12 at 20:28
1  
I'd already used axel as a download accelerator a couple of times in the past, so I used axel and proxy as search terms and was (pleasantly) surprised by the result. –  pino42 Nov 17 '12 at 8:53
    
Ah, that explains it. Many thanks. :) –  redpola Nov 17 '12 at 17:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.