Re: Proxy without buffering

2015-01-26 Thread Pasi Kärkkäinen
On Thu, Jan 22, 2015 at 01:43:10AM -0500, jamesgan wrote: > Hi, all > > Is there any progress in this area so far? It would be great if this > did/will become a standard feature of nginx. > +1 -- Pasi > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,236568,256238#msg-256238 > >

Re: Proxy without buffering

2015-01-21 Thread jamesgan
Hi, all Is there any progress in this area so far? It would be great if this did/will become a standard feature of nginx. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236568,256238#msg-256238 ___ nginx mailing list nginx@nginx.org http://m

Re: Proxy without buffering

2013-02-27 Thread double
Machine ""front-end"": haproxy (port 80) -> proxies to "port 8080" and "machine upload" nginx (port 8080) Machine "upload": nginx (port 80) via "front-end" Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236568,236699#msg-236699 ___ nginx mai

Re: Proxy without buffering

2013-02-27 Thread xinghua_hi
Hello, as you said, you use haproxy in front of nginx, that means the request will be proxied by haproxy first, and then be proxied by nginx, although haproxy can proxy request immediately, but nginx can not pass the request on-the-fly, it will buffer request anagin. Have i made some mis

Re: Proxy without buffering

2013-02-27 Thread double
haproxy does not buffer the request - it proxies immediately. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236568,236668#msg-236668 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxy without buffering

2013-02-27 Thread xinghua_hi
Hello, thanks for your reply. but i am still confused with the workground about haproxy. i know haproxy dose not buffer request, but if use haproxy in front of nginx, when haproxy pass request to nginx, nginx will still buffer the request to disk Thanks a lot Posted at Nginx

Re: Proxy without buffering

2013-02-27 Thread double
Example: Size of POST-request: 10 GB (e.g. HD video) Upload-time: 4h The front-server proxies the request to the upload-server. After the upload has finished, the uploading client wants a quick "all fine"-message (maximum 30 seconds). If the upload-server gets the stream directly, the machine has

Re: Proxy without buffering

2013-02-26 Thread xinghua_hi
Hello, I have two questions. 1. why does backend has troubles to parse request? because parsing huge request make heavy load? 2. why haproxy in front nginx can workaround the issue? I think nginx will still buffer the request to temp file Thanks a lot Posted at Nginx Forum: http://forum.nginx.

Re: Proxy without buffering

2013-02-25 Thread double
Thanks a lot! > Also it'd be very nice to get this feature to standard nginx, > many people need it! 100% true. I hate this workaround via "haproxy" Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236568,236576#msg-236576 ___ nginx mailing l

Re: Proxy without buffering

2013-02-25 Thread Pasi Kärkkäinen
On Mon, Feb 25, 2013 at 04:39:53AM -0500, double wrote: > Hello, > > Large POST-request are buffered to disk, before passed to the backend. > The backend has troubles to parse the POST-data, if the requests are huge > (some GB). > > We use "haproxy" in front of "nginx", to workaround this issue.

Proxy without buffering

2013-02-25 Thread double
Hello, Large POST-request are buffered to disk, before passed to the backend. The backend has troubles to parse the POST-data, if the requests are huge (some GB). We use "haproxy" in front of "nginx", to workaround this issue. But this causes extra load on the server. Is there a chance to disable