retagged by
4,905 views
5 votes
5 votes
Suppose you needed to use HTTP to download a webpage with three embedded images. The total number messages saved between the client and server starting from initiates TCP connection to receive the third object and close connection when using persistent HTTP without pipelining insteed of non-persistent HTTP are
retagged by

1 Answer

Best answer
19 votes
19 votes

Persistent HTTP with pipelining and without pipelining:

  1. HTTP without pipelining: The client issues a new request only when the previous response has been received.: Total RTTs : 2 RTT + n RTT (n number of documents)
  2. HTTP with pipelining:      Total RTTs : 2RTT + 1RTT

Note: HTTP/1.1 uses persistent with pipelining.

selected by

Related questions

1 votes
1 votes
1 answer
1
2 votes
2 votes
2 answers
4
yankur9 asked Jan 10, 2017
971 views
Two distinct webpages (for eg. www.madeeasy.in/student.html and www.madeeasy.in/course.html) can not be sent over the same persistent connection.