题目
题目

INEF001 Assessment Quiz 2 - Requires Respondus LockDown Browser

简答题

DNS and HTTP delays -  non-persistent HTTP with 5 parallel TCP connections   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 two DNS servers are visited before your host receives the IP address from DNS. The first DNS server visited is the local DNS cache, with an RTT delay of RTT0 = 4 msecs. The second DNS server contacted has an RTT1 of 26 msecs.  Suppose the RTT between the local host and the Web server containing the object is RTTHTTP = 50 msecs. Question: Suppose the HTML object references 9 very small objects on the same server, but assume that the client is configured to support a maximum of 5 parallel TCP connections, with non-persistent HTTP.  How much time (in msec) elapses from when the client clicks on the link until the client receives the objects?

题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
To solve this, we need to break the total delay into two parts: DNS resolution time and the time to fetch all the HTTP objects. - DNS resolution: The browser must perform two DNS lookups. The first is the local DNS cache with RTT0 = 4 ms, and the second goes to another DNS server with RTT1 = 26 ms. The total DNS time is RTT0 + RTT1 = 4 + 26 = 30 ms. - HTTP object fetches: After DNS, the HTML object references 9 very small objects on the same server. The client is configured to......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!