Questions tagged [http-pipelining]

HTTP pipelining is a technique in which multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses.

HTTP pipelining is a technique in which multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses.

The pipelining of requests results in a dramatic improvement in the loading times of HTML pages, especially over high latency connections such as satellite Internet connections. The speedup is less apparent on broadband connections, as the limitation of HTTP 1.1 still applies: the server must send its responses in the same order that the requests were received — so the entire connection remains first-in-first-out and HOL blocking can occur.

Since it is usually possible to fit several HTTP requests in the same TCP packet, HTTP pipelining allows fewer TCP packets to be sent over the network, reducing network load.

HTTP pipelining requires both the client and the server to support it. HTTP/1.1 conforming servers are required to support pipelining. This does not mean that servers are required to pipeline responses, but that they are required not to fail if a client chooses to pipeline requests.

via: Wikipedia

23 questions
0
votes
1 answer

Can I do something similar to pipelining on HTTP 2?

Pipelining is a technique in HTTP/1.1 where multiple requests are sent at once without waiting for a response, on a keepalive connection. The responses are then returned in order by the server, without waiting for a round-trip-time between a…
JJJollyjim
  • 5,837
  • 19
  • 56
  • 78
0
votes
1 answer

Batch AJAX requests to REST endpoint

I want to send many GET requests to a REST endpoint (implemented with ArcGIS), with a change in the parameters, e.g.: http:///query?where=param=foo http:///query?where=param=bar http:///query?where=param=baz …
luthien
  • 1,285
  • 3
  • 15
  • 26
0
votes
1 answer

Netty HTTP 1.1 Pipelining Support

I need to send multiple async requests to a rest server through the same connection and get them executed in FIFO order, I think HTTP 1.1 pipelining is just perfect for this. I found some related issues on Netty but I couldn't find much on their…
Mattx
  • 65
  • 6
0
votes
1 answer

HTTP client request timeout handling in keep-alive connections

Regarding to HTTP keep-alive how request timeout should be handled on client side? For example there is a flow: Client sends Request1; Client waits for 1 minute; Client assumes the Request1 failed and resends it, i.e. sends new Request2 =…
Soteric
  • 3,070
  • 5
  • 24
  • 23
0
votes
0 answers

Does scapy support http pipelining?

I am trying to write a script that does http pipelining with scapy. When I call my send function to send my two http requests back to back, the requests are not pipelined. The Second http request is sent after the first http response is…
dlo
  • 3
  • 1
  • 4
0
votes
2 answers

Httphandler for ASP Classic?

Is there any way in ASP Classic to catch HTTP request before it comes to that page? Like in ASP.Net we can catch request at Application_BeginRequest. Actually what I'm trying to do is to redirect requests to some other pages if asking files from a…
c-sharp
  • 573
  • 1
  • 9
  • 25
0
votes
1 answer

Why pipelining in firefox does not seem to work?

To verify that using http pipelining can optimize the speed of loading resources, I made a test as follows: Open Firefox on Mac, in config change max connection per server to 1, then I open a test page which loads 12 images. I got the following…
jz1108
  • 1,300
  • 1
  • 11
  • 14
-1
votes
2 answers

Pipelining POST requests with python-requests

Assuming that I can verify that a bunch of POST requests are in fact logically independent, how can I set up HTTP pipelining using python-requests and force it to allow POST requests in the pipeline? Does someone have a working example? P.S. for…
Dima Tisnek
  • 11,241
  • 4
  • 68
  • 120
1
2