Re: Writing a bare bones Download manager




sjdevnull@xxxxxxxxx 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 )?

Why would you use threads for that? There's no good reason to abandon

i mean to download using multiple connections for each section (say 4
scetions/streams) of the same file. this genereally increases the
download speed if you are behined a firewall and bandwidth per
connection is low.

memory protection. I'm not convinced that multiple connections to a
server for one file makes any sense unless you're trying to skirt
administrative restrictions on bandwith per connection or something
like that, but even if it does why wouldn't you go with fork()?

It is more likely that you'd want multiprocessing if you're connecting
to multiple remote servers, but using processes instead of threads is
likely to be more robust and easier to maintain. There's no reason to

multiple threads are more efficient as compared to multiple precesses
and synchronisation too is easier i suppose. any comments?

share all your memory.

.



Relevant Pages

  • Re: Status of Python threading support (GIL removal)?
    ... I don't say multiple threads can't execute..... ... release the GIL, the C thread can run on a different core than the ... The GIL is only required for Python ...
    (comp.lang.python)
  • Re: downloading a single file using multiple threads
    ... have parallel requests over two different connections. ... But I can't see why you're focusing on "same connection" multiple ... chunks in multiple threads - using multiple requests on multiple ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Duo core CPU in Forth
    ... multiple tasks on different cores. ... cores, surely you should use multiple tasks. ... are defined though if the concept of splitting a single task across ... multiple threads of execution are ...
    (comp.lang.forth)
  • Re: Duo core CPU in Forth
    ... multiple tasks on different cores. ... cores, surely you should use multiple tasks. ... down into multiple logical entities which might be perceived and/or ... multiple threads of execution are ...
    (comp.lang.forth)
  • Re: optimistic locking
    ... Outside the scope of C programming per se. ... that multiple threads are acting on the variable. ...
    (comp.lang.c)

Loading