Question

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 Web page associated with the link contains exactly one object, consisting of a small amount of HTML text. Let RTT0 denote the RTT between the local host and the server containing the object. Assuming zero transmission time of the object, how much time elapses from when the client clicks on the link until the client receives the object?

2. Referring to Problem 1, now suppose the HTML file references seven 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 three parallel connections? c. Persistent HTTP?

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

Answer:

1).

Here, the DNS lookup is necessary and from your computer, it goes to many DNS servers and if we start from our computer, the time taken is RTT1 + RTT2 + RTTn. Here, RTT means Round Trip Time. For example, RTT1 means from your computer to first DNS server and then back to your computer.

So, total of RTT1 + RTT2 + ... + RTTn time is required when your computer is finally getting the required server address. Now, you have that address so you are querying that server directly and getting the result in RTT0 time.

As the transmission cost is neglected in the total scenario, the only time you need to consider is the round trip time.

So, for the given scenario, RTT1 + RTT2 + ... + RTTn time is used first and at last RTT0 time is used. So, the total of RTT0 + RTT1 + RTT2 + ... + RTTn time is elapsed.

Note:As per HomeworkLib guidelines i can Answer to one question post again for the second one.

Add a comment
Know the answer?
Add Answer to:
Please Help! thanks in advance 1. Suppose within your Web browser you click on a link...
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...

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

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

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

  • please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames...

    please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames to IP addresses, fulfilling a critical role in the Internet infrastructure. In this lab, we’ll take a closer look at the client side of DNS. Recall that the client’s role in the DNS is relatively simple – a client sends a query to its local DNS server, and receives a response back. Much can go on “under the covers,” invisible to the DNS clients,...

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