Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 22s8 days 9 hours 54 minutes 22 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 22s8 days 9 hours 54 minutes 22 seconds.

Sign in to watch this lesson
Applications and Sockets · 4:15
Why a web object costs two round trips plus its transmission time, and how HTTP spends fewer. We derive Kurose & Ross's Fig 2.7 timeline, check it with curl timings from this Mac (about 62 ms, two round trips, for plain HTTP; a third round trip for TLS; about a millisecond on loopback), count 22, 12 and 3 round trips for non-persistent, persistent and pipelined pages, and see how HTTP/2 frames beat head-of-line blocking. The trading takeaway: never open a connection on the critical path.