question about proxy_buffers

Jérôme Loyet jerome at
Tue Jun 9 20:41:43 MSD 2009

Hi all,

I'm not sure how proxy_buffers are used.

1- requests to the backend can use only one buffer. If the reponse is
bigger than one buffer, some part of the response is buffered to disk.
2- requests to the backen can use multiple buffers. If the response is
bigger than on buffer, nginx will use more buffers (if available of

So depending on the answer, I would use :
1- big buffers so that 80% of the requests can feet in on buffer. And
enough buffers so that 80% of the requests can be buffered
2- small buffers and a lots of buffers

don't know what to use :) any clue ?

++ jerome

More information about the nginx mailing list