Re: Tuning client request buffering in ngx_http_proxy_module

2022-02-01 Thread Maxim Dounin
Hello! On Tue, Feb 01, 2022 at 03:19:55PM -0500, bengalih wrote: [...] > My direct https speeds to the backend are about 100mbps. (sans NGINX) > As soon as I go through NGINX those speeds are almost cut in half (~55mbps) > *if* "proxy_request_buffering off". > My NGINX (v1.18) is running on embe

Re: Tuning client request buffering in ngx_http_proxy_module

2022-02-01 Thread bengalih
Thank you for the response Maxim. Unfortunately, while it reinforces what my understanding is from the documentation, it doesn't allow me to reconcile what I am seeing or help me understand how to tune properly. Let me explain what I am seeing now based upon your explanation. (N.B.: In my initia

Re: Tuning client request buffering in ngx_http_proxy_module

2022-02-01 Thread Maxim Dounin
Hello! On Mon, Jan 31, 2022 at 07:53:24PM -0500, bengalih wrote: > I had/have an issue where I am proxying from NGINX to a backend WebDAV > server. > My upload speeds were slow and had long pauses in them including very long > pauses at the end (5 minutes or more on uploads around 1GB). > > Via

Re: Using single persistent socket to send subrequests

2022-02-01 Thread Francis Daly
On Wed, Jan 26, 2022 at 07:18:02AM +, Devashi Tandon wrote: Hi there, You may or may not have seen a parallel mail with the Subject: auth_request sub requests not using upstream keepalive. > I tried with clearing the connections header but NGINX is still sending > the 5th response through a

Re: RE: RE: How to make nginx fail if it can't write to cache dir.

2022-02-01 Thread Francis Daly
On Sun, Jan 30, 2022 at 04:01:31AM -0500, unikron wrote: Hi there, > The error on a base dir is critical to all cache requests, so no request > will succeed. Yes. In your case, *all* requests are cache requests, so you want your process to fail entirely. But in the general case, all of the non-c