Nginx receiving bytes from Amazon ELB (Performance Issue)

Nicholas Sherlock n.sherlock at gmail.com
Thu May 8 02:47:47 UTC 2014


On 8 May 2014 06:05, rodrigo.aiello <nginx-forum at nginx.us> wrote:

> Nginx is receiving the bytes and then
> delivering. I wonder if anyone has gone through this problem and found a
> better solution.


Indeed, Nginx reads the whole response from the backend before a single
byte is sent to the client. That can add latency if your response is very
large. This is controlled by the proxy_buffering setting, so try setting it
to "no":

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering

Cheers,
Nicholas Sherlock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140508/a0b50294/attachment.html>


More information about the nginx mailing list