Re: downloading a single file using multiple threads
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Wed, 28 Mar 2007 18:52:37 +0100
Willy Denoyette [MVP] <willy.denoyette@xxxxxxxxxx> wrote:
See, for example, the "Range" field in HTTP.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.1
I know that HTTP 1.1 supports range requests, but this is not exactly my point.
The multi part requests in HTTP1.1 are meant to request (for very specic application
purposes) a single part or multiple parts in a single request, but you can't (AFAIK)
requests multiple parts in parallel from multiple client threads.
Why not? They'd be multiple requests, each requesting a single part to
form a whole. What's to stop it working?
Note that there's nothing to stop a download manager from
retrieving different parts of the same file from multiple servers
as well. Assuming an identical file stored on various mirrors, it
doesn't matter which mirror a given part of the file comes from.
That's true, but these will use dedicated protocols don't they? The
clients also should have multiple NIC's installed connected over
segmented LAN's and/or routers to take some speed advantage of the
parallelism.
Why shouldn't it work over multiple HTTP servers (using range headers)?
It depends where the network bottleneck is, of course, but if I can get
from the UK to (say) the US with 1Mbps and to Africa with 1Mbps, in
parallel, it makes sense to fetch at an overall rate of 2Mbps rather
than 1...
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: downloading a single file using multiple threads
- From: Willy Denoyette [MVP]
- Re: downloading a single file using multiple threads
- References:
- downloading a single file using multiple threads
- From: keerthyragavendran
- Re: downloading a single file using multiple threads
- From: Willy Denoyette [MVP]
- Re: downloading a single file using multiple threads
- From: Jon Skeet [C# MVP]
- Re: downloading a single file using multiple threads
- From: Willy Denoyette [MVP]
- Re: downloading a single file using multiple threads
- From: Peter Duniho
- Re: downloading a single file using multiple threads
- From: Willy Denoyette [MVP]
- downloading a single file using multiple threads
- Prev by Date: Re: downloading a single file using multiple threads
- Next by Date: Re: get names of parameters
- Previous by thread: Re: downloading a single file using multiple threads
- Next by thread: Re: downloading a single file using multiple threads
- Index(es):
Relevant Pages
|
Loading