Question

Problem # 1 (30 points): Suppose within your Web browser you click on a link to obtain a web page Suppose that the IP address for the associated URL is not cached in your local host, so that a DNS look- up is necessary to obtain the IP address. Suppose that two (2) DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RTT1 and RTT2. Further suppose that the Web page associated with the link contains exactly one object; the base HTML file. Let RTTo denote the RTT between the local host and the server containing the object. Assuming /rans transmission time of the base HTML file, find a. (6 points) The amount of time that elapses from when the client clicks on the link until the client receives the base HTML file b. Suppose the base HTML file indexes two (2) more objects. The first indexed object resides on the same server hosting the base HTML file. The second indexed object resides on a different server than the server hosting the base HTML file, and the IP address of such a server is already cached in your local host. Assume that RTTo denotes the RTT between the local host and each server containing an object. Using the same assumptions used in part (a) for the base HTML file, and assuming the transmission time for each indexed object is /rans, find the total amount of time that elapses from when the client clicks on the link until the client receives all objects (including the base HTML file) with i. (6 points) nonpersistent HTTP with no parallel TCP connections ii. (6 points) nonpersistent HTTP with parallel TCP connections (assume that parallel TCP connections can be made to different servers at the same time) iii.(6 points) persistent HTTP without pipelining ˇ· (6 points) persistent HTTP with pipelining

0 0
Add a comment Improve this question Transcribed image text
Answer #1

When a user clicks on a link, the browser establishes a TCP connection with the server and nds a request t a response that co

Time taken for DNS look upRTT,+ RTT+...RTT Since RTT between local host and server is RTTo Time to establish TCP connection R

a Non- persistent HTTP with no parallel TCP connections: Already know for object 1 from above, now we need to add the time fo

Add a comment
Know the answer?
Add Answer to:
Problem # 1 (30 points): Suppose within your Web browser you click on a link to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please Help! thanks in advance 1. Suppose within your Web browser you click on a link...

    Please Help! thanks in advance 1. Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is not cached in your local host, so a DNS lookup is necessary to obtain the IP address. Suppose that n DNS servers are visited before your host receives the IP address from DNS; the successive visits incur a RTT (round-trip time) of RTT1, … , and RTTn. Further suppose that the...

  • Suppose within your web browser you click on a link to obtain a web page. The...

    Suppose within your web browser you click on a link to obtain a web page. The IP address for the associated URL is not cached in your local host, so a DNS look up is necessary to obtain the given IP address. Further suppose that 3 DNS servers are visited before your host receives the IP address form DNS. The round trip time between the client and the ithDNS server is Ti(1≤i≤3), and that between the jthDNS server and the...

  • Suppose within your Web browser you click on a link to obtain a Web page. The...

    Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is not cached in your local host, so a DNS lookup is necessary to obtain the IP address. Suppose that n DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RT T1, ..., RT Tn. Further suppose that the Web page associated with the link contains exactly...

  • 1. Suppose within your web browser you click on a link to obtain a Web page....

    1. Suppose within your web browser you click on a link to obtain a Web page. The Web page associated with the link is an HTML file of very small size, but containing references to eight other objects. Each of these eight objects is also of very small size. Five of the eight embedded objects are on the same server as the base object (Server 1) while the remaining three are on a different server (Server 2). The round-trip time...

  • Suppose within your Web browser you click on a link to obtain a Web page. The...

    Suppose within your Web browser you click on a link to obtain a Web page. The content of the web page is not cached in the local caching server, and the IP address for the associated URL is not cached in your local host either, so that a DNS look-up is necessary to obtain the IP address. Suppose that n DNS servers need to be visited before your host receives the IP address from DNS, and each of successive visits...

  • Suppose within your Web browser you click on a link to obtain a Web page. The...

    Suppose within your Web browser you click on a link to obtain a Web page. The content of the web page is not cached in the local caching server, and the IP address for the associated URL is not cached in your local host either, so that a DNS look-up is necessary to obtain the IP address. Suppose that n DNS servers need to be visited before your host receives the IP address from DNS, and each of successive visits...

  • Consider a webpage consisting of a base HTML file and 2 embeded GIF objects on the...

    Consider a webpage consisting of a base HTML file and 2 embeded GIF objects on the same web server. The IP address for the server is initially not known to the client. Suppose that one DNS server in each class of DNS hierarchy should be visited before the client receives the IP address. Suppose the time needed to contact any (web or DNS) server and receive a response is RTT . How much time elapses from when the client clicks...

  • ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS) QUESTIONS ( 11 - 20) QUESTION 11 1.     Consider the following...

    ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS) QUESTIONS ( 11 - 20) QUESTION 11 1.     Consider the following excerpt from a simple server side UDP program: Server.py from socket import * sName=’127.0.0.1’ sSocket=socket(AF_INET,SOCK_DGRAM) sSocket.bind((sName, 12005)) while True: msg, cAddr =sSocket.recvfrom(2048) newMsg = msg.decode().lower()   sSocket.sendto(*********************) What code could be used to replace the **********’s in line 8? newMsg.encode(), cAddr newMsg.encode() msg.encode(), cAddr msg.encode() none of the above 1 points    QUESTION 12 For a client to obtain an IP address from the local...

  • on calculations can i see how did the expect come to the solution ,all the workout...

    on calculations can i see how did the expect come to the solution ,all the workout should be included QUESTION 1 A file of size F = 8 Gbits needs to be distributed to10 peers. Suppose the server has an upload rate of u = 68 Mbps, and that the 10 peers have upload rates of: u1 = 20 Mbps, u2 = 22 Mbps, u3 = 12 Mbps, u4 = 19 Mbps, u5 = 25 Mbps, u6 = 24 Mbps,...

  • Project Description In this project, you will be developing a multithreaded Web server and a simple...

    Project Description In this project, you will be developing a multithreaded Web server and a simple web client. The Web server and Web client communicate using a text-based protocol called HTTP (Hypertext Transfer Protocol). Requirements for the Web server The server is able to handle multiple requests concurrently. This means the implementation is multithreaded. In the main thread, the server listens to a specified port, e.g., 8080. Upon receiving an HTTP request, the server sets up a TCP connection to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT