Suppose in a web browser, you click on the . The browser cache is empty. The for this is not cached in your local host, so a lookup is triggered (by the local server deployed on your local host) over the -tier hierarchy in an iterative mode. No resource records are cached anywhere across all servers.
Let denote the round trip time between your local host and servers in the hierarchy. The round trip time between the local host and the web server hosting is also equal to . The file associated with the is small enough to have negligible transmission time and negligible rendering time by your web browser, which references equally small objects on the same web server.
Which of the following statements is/are about the minimum elapsed time between clicking on the and your browser fully rendering it?
View worked solution
Answer: C;D
To find the minimum elapsed time, we calculate the time taken for DNS resolution and the subsequent HTTP object retrieval.
1. DNS Resolution Time:
Since the local DNS server is deployed on the local host, the communication between them takes . The local DNS server queries the -tier DNS hierarchy (Root, TLD, and Authoritative servers) in iterative mode. With no cached records anywhere:
2. Non-persistent HTTP with parallel connections (Options A & C):
- Base HTML: (TCP handshake) + (HTTP request/response) = .
- 10 Objects: Since we have parallel connections, we can fetch the objects in consecutive batches of objects each:
- Batch 1 ( objects): (handshake) + (transfer) =
- Batch 2 ( objects): (handshake) + (transfer) =
3. Persistent HTTP with pipelining (Options B & D):
- Base HTML: (TCP handshake) + (HTTP request/response) = .
- 10 Objects: The connection remains open (persistent), and all requests are sent back-to-back without waiting for replies (pipelined):
- Request and receive all objects:
Free practice · Your answers on this page are not saved.
