FastCGI and pipelining
mdounin at mdounin.ru
Tue Mar 6 17:52:35 UTC 2012
On Tue, Mar 06, 2012 at 12:04:35PM -0500, chuda wrote:
> Hi all,
> I'm recently start using NGINX in combination with my FastCGI service,
> it work quite good and effective.
> I decided to use pipeline as it works effectively utilizing one
> According to NGINX logs pipelining is work, but I mentioned interesting
> thing - NGINX passes request to FCGI in synchronous mode, i.e. it'll
> send the next request only after the first one will complete.
> It's weired for me.
> Is such behavior is expected?
Yes. Pipelined requests from client are processed in order. That
is, processing of next request starts only when previous requests
was handled and response sent (at least to socket buffer).
More information about the nginx