Here is my answer. Please correct me if there is anything wrong, thank you.
Course Address http://www.icourse163.org/course/HIT-154005 My course ID:AWEFFR
--------------------------Topics------------------------
Topic
Suppose you clicked a hyperlink when you browsed a webpage, the URL is http://www.kicker.com.cn/index.html, and the IP address for that URL is not cached on your computer The file index.html refers to 8 small images. In the process of domain name resolution, a round trip time of no-wait DNS resolution request and response time as Rttd,http request Transport Web object is recorded as Rtth. Please answer the following questions:
1) What is the shortest time your browser resolves to the URL corresponding to the IP address? What is the maximum time?
2) If the browser does not have a parallel TCP connection configured, how long does it take to get the full contents of the URL Link Web page (including the referenced image, the same below) based on HTTP1.0 (excluding the domain name resolution time)?
3) If the browser is configured with 5 parallel TCP connections, how long does it take to get the full content of the URL link Web page based on HTTP1.0?
4) If the browser does not have a parallel TCP connection configured, how long does it take for the HTTP1.1 to get the full content of the URL link Web page based on non-pipelining mode? How long does it take to get the full content of the URL link Web page based on the HTTP1.1 mode?
1) because there is no cache locally, it requires a minimum of 1 queries. A maximum of 3 recursive queries are required.
Answer: 1 RTTD ~ 3 Rttd.
2) requires an HTML file itself, plus 8 small image connections.
The time includes a round-trip time RTTH that initiates the process of establishing a TCP connection for a RTTH,HTTP request transport Web object.
Answer: 2 * 9 = rtth.
3) First establish TCP connection, get index.html file 2 rtth. Then by the image address information, the 2-wheel parallel processing to complete 8 images of the loading work. 2*2 a rtth.
Answer: 2 + 4 = 6 rtth.
4) without running water, the client sends a new request only after receiving the previous response, and each referenced object takes a RTT.
In the case of running water, the client makes a request as soon as it encounters a reference.
Answer: No flow: 2 + 8 = rtth. With running water: 2 + 1 = 3 rtth.
Computer network [MOOC] Job three HTTP1.1 and 1.0 time calculation