Question

1. Peristent vesus non-persistent TCP Connections/web page retrieval: This problem is a continuation of the problem...

1. Peristent vesus non-persistent TCP Connections/web page retrieval: This problem is a continuation of the problem in homework 4. Assume the Web server’s IP address is stored in your local DNS server’s cache and RTT0 = 5msec. The RTT for communication between the client and the Web server (RTTHTTP) is 100 msec. Transmission time = 0 for every packet.

a. Calculate the total time to load the web page and 2 objects using the TCP Connections indicated assuming a persistent TCP connection WITH pipelining.

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

A Persistent TCP connection does not require setup connection again and again for every object.
A non-persistent TCP connection requires to setup connection for every object.

Since question is about persistent TCP connection, connection is not required again and again,

pipelining means we are sending multiple requests in a single TCP connection without wating for there responces.

The calculation will involve below steps:

Step1: First, We need to find address of the page, ( in our case it is inour local DNS), RTT0 = 5msec.

Step2: Now we need 1 RTTHTTP to open TCP connect, 1 RTTHTTP to load webpage and 2 objects, and 1 RTTHTTP to close connection. i.e 3RTTHTTP = 300msec

so total time = 5msec + 300msec = 305msec

Add a comment
Know the answer?
Add Answer to:
1. Peristent vesus non-persistent TCP Connections/web page retrieval: This problem is a continuation of the problem...
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
  • Problem # 1 (30 points): Suppose within your Web browser you click on a link to...

    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...

  • 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...

  • I just need a walk through for d and e for problem 8 please. Thanks! 8....

    I just need a walk through for d and e for problem 8 please. Thanks! 8. Referring to problem P7, suppose the HTML file refernces eight very small objects on the same server. Neglecting transmission times, how much time elapses with a. Non-persistent HTTP with no parallel TCP connections? b. Non-persistent HTTP with the browser configured for 5 parallel connects? c. Persistent HTTP? In 8C, please consider both persistent HTTP with and without pipelining; D. redo a. and c. assuming...

  • 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 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...

  • 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...

  • 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 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...

  • 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...

  • 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...

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