CS FundamentalsHardGATE CS · Product company CS fundamentals
With HTTP/1.1 pipelining, a client sends requests for A (large, slow to generate), B and C on one connection without waiting. In what order must the server send the responses?
- A. B and C first, since they are ready sooner
- B. Any order, matched by request IDs
- C. Interleaved frames of A, B and C
- D. A, B, C, in request order, so B and C wait behind A (head-of-line blocking)
Correct answer: D. A, B, C, in request order, so B and C wait behind A (head-of-line blocking)
HTTP/1.1 has no request IDs, so responses must come back in the order the requests were sent. This head-of-line blocking is why pipelining was rarely enabled and why HTTP/2 introduced multiplexed streams with IDs.
More Computer Networks questions
- An institution's users request 15 web objects per second on average, each 1 Mb, over a 15 Mbps access link. A proxy cache is installed…
- A browser needs www.shop.example: the local resolver (RTT 2 ms) has nothing cached and contacts the root, TLD and authoritative servers…
- example.com has MX records with preference 10 (mx1.example.com) and 20 (mx2.example.com). How does a sending mail server deliver to…
- With IEEE 802.3 Manchester coding (0 = high-to-low in mid-bit, 1 = low-to-high), how many signal transitions occur while sending the bits…
- A 10 Gbps transatlantic fibre link is 6000 km long (signals at 2 × 10⁸ m/s). How much data is in flight in one direction when the link is…
- TCP sequence numbers are 32 bits, and no number may be reused within the maximum segment lifetime of 120 s (assume no PAWS/timestamps)…