Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment MUST be completed using C or C++ on Linux hint to the assignment: Overview File downloaders are programs used for downloading files from

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

This assignment MUST be completed using C or C++ on Linux

hint to the assignment:

image text in transcribedimage text in transcribed

Overview File downloaders are programs used for downloading files from the Internet. In this assignment you will implement two distinct types of multi-process downloaders (i.e. file downloaders that comprise multiple processes 1. a serial file downloader which downloads files one by one. 2. a parallel file downloader which dowloads multiple files in parallel You will then compare the performance of the two types of downloaders. Both downloaders will use the Linux wget program in order to perform the actual downloading The usage of the wget is simple: wget . For example, running from command line the following command wget http://releases.ubuntu.com/11.10/ubuntu-11.10-desktop-1386.iso will download the Ubuntu Linux iso image to the current directory. Before proceeding with the assignment, you may want to take a moment to experiment with the wget command In your program, the parent process shall first read the file, urls.txt,containing the URLs of the files to be downloaded. urls.txt shall have the following format: KURL1> KURL2> For example: Overview File downloaders are programs used for downloading files from the Internet. In this assignment you will implement two distinct types of multi-process downloaders (i.e. file downloaders that comprise multiple processes 1. a serial file downloader which downloads files one by one. 2. a parallel file downloader which dowloads multiple files in parallel You will then compare the performance of the two types of downloaders. Both downloaders will use the Linux wget program in order to perform the actual downloading The usage of the wget is simple: wget . For example, running from command line the following command wget http://releases.ubuntu.com/11.10/ubuntu-11.10-desktop-1386.iso will download the Ubuntu Linux iso image to the current directory. Before proceeding with the assignment, you may want to take a moment to experiment with the wget command In your program, the parent process shall first read the file, urls.txt,containing the URLs of the files to be downloaded. urls.txt shall have the following format: KURL1> KURL2> For example

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions