A web page with N objects on the same server as the HTML base file, downloaded over a single persistent TCP connection. Change the parameters and compare both delay diagrams on the same time scale.
Draw both delay diagrams on paper, compute T for each mode and write it below.
Delay diagrams for downloading a web page with N objects stored on the same server as the HTML base file, over a single persistent TCP connection, with HTTP/1.1 without pipelining and with pipelining. The browser first downloads the HTML and then requests the objects: without pipelining, each GET is sent once the previous object has arrived; with pipelining, all the GETs leave at once and the server sends the responses back to back. The student adjusts the link rate, the propagation delay, the size of the HTML and of the objects (equal or different), the TCP handshake and the server processing time, and sees both diagrams on the same time scale, with RTT and transmission-time dimension lines, the gaps where the link sits idle, the formula with the values substituted and a table of instants. The download can be played step by step, practised with random exercises and exported as SVG or PNG. It shows that pipelining saves (N−1)·(RTT + t_proc).
Concepts: persistent HTTP, pipelining, TCP connection, connection setup, round-trip time (RTT), transmission delay, propagation delay, referenced object, HTML base file, delay diagram, link utilization.
Formulas:
RTT = 2·d_propX = L / Rwithout pipelining: T = [RTT]_TCP + (RTT + t_proc + X_html) + N·(RTT + t_proc + X)with pipelining: T = [RTT]_TCP + (RTT + t_proc + X_html) + RTT + t_proc + N·Xsaving = (N−1)·(RTT + t_proc)Network Architecture I, Session 2.2 · Enrique de la Hoz, University of Alcalá · License CC BY-SA 4.0 · Source and catalogue on GitHub · DOI 10.5281/zenodo.23285664