Download large two GB file from Internet

5 pts.
Tags:
FILES
Assume that you are trying to download a large 2-GB file from the Internet. The file is available from a set of mirror servers, each of which can deliver a subset of the file’s bytes; assume that a given request specifies the starting and ending bytes of the file. How can I use threads to improve the download time?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Before
we would want to give an answer to this, we would like to know do you have
a business case for asking this question or is it a homework question.

If you have a good business
case for it, please let us know. It is really not right for us to be doing
homework for people. It deprives them of the extra knowledge they get when
doing the research themselves.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    You can download a good download manager to overcome this issue. However, network speed/ tariff are also matter.
    130,690 pointsBadges:
    report
  • TheRealRaven
    Though you might find a download manager that works, it's difficult to pick one that improves things without causing more problems.

    The simple answer would be to have multiple threads processing different byte ranges. But that's too simplified to be worth credit because it's probably obvious from the problem statement.

    If it's not too obvious, what problem are you having with doing it?
    32,400 pointsBadges:
    report
  • carlosdl
    So, are you developing a download manager?
    84,580 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: