0% found this document useful (0 votes)
12 views

Computer NetworkingUsing The Persistent Connecti

The document discusses a networking question involving requesting files over HTTP using persistent connections. It asks for the timeline of requests, total RTTs required, and total time to download files given specific file sizes and RTT times. The expert answer provides step-by-step working and calculations to find the number of RTTs as 46 and total download time as 73.5 seconds.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Computer NetworkingUsing The Persistent Connecti

The document discusses a networking question involving requesting files over HTTP using persistent connections. It asks for the timeline of requests, total RTTs required, and total time to download files given specific file sizes and RTT times. The expert answer provides step-by-step working and calculations to find the number of RTTs as 46 and total download time as 73.5 seconds.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

(Computer Networking)Using the persistent connecti...

chegg.com/homework-help/questions-and-answers/computer-networking-using-persistent-connection-request-7-
image-files-3-word-files-http-se-q114579774

Question

(0)

(Computer Networking)Using the persistent connection, you have to Request 7 image


files and 3 Word files from the HTTP server. 2 RTT is required for connection, 5 RTT to
request an image file, and 3 RTT to request a word file from the server.

a) Timeline Representation.

b) Total RTTs required to request all files.


c) Total time to download all the files when RTT is 750 milliseconds, Time to download an
image file is 3 seconds, and time to download a word file is 6 seconds.

Expert Answer

This solution was written by a subject matter expert. It's designed to help students like
you learn core concepts.

Step-by-step

1st step
All steps
Answer only
Step 1/2

a.

Timeline Representation :

|----------------|----------------|----------------|----------------|----------------|

| RTT1 | RTT2 | RTT3 | RTT4 | RTT5 | RTT6 | RTT7 | RTT8 | RTT9 | RTT10 |

|----------------|----------------|----------------|----------------|----------------|

| conn.Establishment | conn.Establishment | Req.Image 1 | Req.Image 2 | Req.Image 3 |

|----------------|----------------|----------------|----------------|----------------|

1/4
| Req.Image 4 | Req.Image 5| Req.word 1 | Req.word 2 | Req.word 3 | | |----------------|------
----------|----------------|----------------|----------------|

Step 2/2
b.

Total RTTs required to request all files:

Connection establishment : 2 RTTs


Requesting 7 image files : 7*5 RTTs = 35 RTTs
requesting 3 word files : 3*3 RTTs = 9 RTTs

Explanation:

Total RTTs required = Connection establishment + Requesting image files + Requesting


word files

Total RTTs required = 2 RTTs + 35 RTTs + 9 RTTs

= 46 RTTs

Final answer
c.

Total time to download all the files:

Total time to download all the files = Total RTTs * RTT + time to donload image files + time
to download word files

Total time to download all the files = 46 * 750 millliseconds + 7*3 seconds + 3 * 6 seconds

= 34,500 milliseconds + 21 seconds + 18 seconds

= 34,500 milliseconds + 39 seconds

= 34,500 milliseconds + 39,000 milliseconds

= 73,500 milliseconds

2/4
= 73.5 seconds.

Total time to download all the files is 73.5 seconds.

Was this answer helpful?

Post a question
Answers from our experts for your tough homework questions

15 questions left - Renews June 12, 2023

Questions viewed by other students


Q:

Consider sending a 4800byte datagram into a link that has an MTU of 750 bytes.
Suppose theoriginal datagram is stamped with the identification number 120. How
many fragments aregenerated? what are the values in the various fields in the IP
datagram(s) generated related tofragmentation?

A:

Step-by-step answer

Q:

Suppose that TCP's current estimated values for the round triptime (estimatedRTT)
and deviation in the RTT (DevRTT) are 320 msecand 39 msec, respectively (see
Section 3.5.3 for a discussion ofthese variables or the class notes, lecture 12).
Suppose that thenext three measured values of the RTT are 350, 325, and 250
msec,respectively.Compute TCP's new value of estimatedRTT, DevRTT, andthe
TCP timeout value after each of these three measured RTT va...

A:

See answer

Post a question
Answers from our experts for your tough homework questions

15 questions left - Renews June 12, 2023

My Textbook Solutions
Add textbook

3/4

4/4

You might also like