Re: Writing a bare bones Download manager
- From: websnarf@xxxxxxxxx
- Date: 25 Nov 2006 21:25:18 -0800
Phlip wrote:
parser wrote:
What i mean to say is that "is there alternative for GNU/Linux"?
or can i tune tune wget so that it can download a file streaming man
parts if it all at once ( using multiple threads )?
Then one of us doesn't understand TCP/IP very well.
Correct. However, its not the one of you suspect.
How can running multiple threads make your wire work harder?
Because 1) the "wire" does not demand a single sequential
communications thread, 2) requests to "get" something usually result
in much more downloaded than uploaded and 3) On the internet you can
target multiple machines as servers at once.
[...] Given one wire, your packets must still
travel one at a time, in single file, regardless how many sockets they go
to.
But you don't have to wait for responses in single file, or send the
packets to only one thread at a time. This is how Firefox and Opera
are able to download so many pages at once, with far less of a speed
hit than you would expect.
For example, I hate written my own wget-like application which can grab
some 1600 IMDb web pages in a minute or two (and that's intentionally
slowed down so the IMDb people don't think I am DOSing them.) From
other link aggregator sites I can pull down their target URLs even
faster (so long as they are all different servers.)
--
Paul Hsieh
http://www.pobox.com/~qed/
http://bstring.sf.net/
.
- Follow-Ups:
- Re: Writing a bare bones Download manager
- From: Randy Howard
- Re: Writing a bare bones Download manager
- From: Phlip
- Re: Writing a bare bones Download manager
- References:
- Writing a bare bones Download manager
- From: parser
- Re: Writing a bare bones Download manager
- From: Phlip
- Re: Writing a bare bones Download manager
- From: parser
- Re: Writing a bare bones Download manager
- From: Phlip
- Writing a bare bones Download manager
- Prev by Date: Re: New non-cryptograhic hash function(s)
- Next by Date: Re: New non-cryptograhic hash function(s)
- Previous by thread: Re: Writing a bare bones Download manager
- Next by thread: Re: Writing a bare bones Download manager
- Index(es):
Relevant Pages
|
Loading