Please acoid the given work. 3. Consider the fetch of a HTML page by a web brows
ID: 3594705 • Letter: P
Question
Please acoid the given work.
3. Consider the fetch of a HTML page by a web browser. The base page to be fetched is stored on the server www.engineering.uiowa.edu. The page contains 10embedded.- objects that are located on the following servers, respectively: three objects on www.engineering.uiowa.edu, three objects on www.cs.uiowa.edu, and four embedded objects on www.acme.com. Assume that the round-trip time between the client and any server is RTT (i.e. the round trip time is the same for all three servers) and the page transmission time is T for the base page and each of the 10 objects (i.e. the page transmission time is the same for the base page and all 10 embedded objects). What is the approximate time required to download the page and its embedded objects if the non-parallel, non-persistent TCP connections are used for all downloads? (lenore DNS lookup times). a) h S(·pov'l: ( ( f Co nr, cc.ti vn What is the approximate time required to download the page and its embedded objects if the browser uses pipelined, persistent TCP connections to each server but can have only a single connection open at one time? (ignore DNS lookup times.) b) RITIT What is the approximate time required to download the page and its embedded objects if the browser uses pipelined, persistent TCP connections to each server and can simultaneously have one connection open to each server? (Ignore DNS lookup times.) c)Explanation / Answer
a)
Given the connection is non parallel which means all the 3
connections to the servers happens one after other.
Given the connection is non persistence which means
every request need 2 RTT (1 for TCP and other for HTTP object).
Here we have 3 servers, 1st server having base file and 3 objects
Hence a total of 4 and hence we need 8 RTT.
Now in 2nd server we have 3 objects for which we need 6 RTT.
Now in 3rd server we have 4 objects for which we need 8 RTT.
Now transmission Time for these 11 objects is = 11T
Hence total time requried is = 8 + 6 + 8 = 22 RTT + 11T.
b)
Given the connection is pipeline which means in connection we get all the objects.
Given the connection is persistent which means in one TCP connection we can
raise any number of HTTP request.
Hence at server 1 for base page we need 2 RTT + T
at server 1 for for 3 objects we need RTT + 3T
at server 2 for 3 objects we need 2 RTT + 3T
at server 3 for 4 objects we need 2 RTT + 4T
Hence total time is = 7 RTT + 11T
c)
Here to get base page from server 1 we need 2 RTT + T
Now for rest of all 10 objects we can get them parallely
Hence total time will be the maximum time requried to get an object
Here all object we can get in 2 RTT + 3T but from server 3
it will 2 RTT + 4T
Hence total time is = 4 RTT + 5T.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.