Re: Tuning client request buffering in ngx_http_proxy_module

2022-02-03 Thread Jeffrey Walton
On Wed, Feb 2, 2022 at 12:45 PM bengalih wrote: > > > Note that SSL is likely the most important contributor to CPU > > utilization in this setup. It might be a good idea to carefully > > tune ciphers used. > > I believe I have set this fairly appropriately. If you know of a resource > that woul

Re: Tuning client request buffering in ngx_http_proxy_module

2022-02-03 Thread Francis Daly
On Wed, Feb 02, 2022 at 12:42:02PM -0500, bengalih wrote: Hi there, > > nginx opens a temporary file, immediately deletes it, and then > > uses this file for disk buffering. The file is expected to be > > deleted from the very start, and it is expected to grow over time > > as it is used for

Re: Tuning client request buffering in ngx_http_proxy_module

2022-02-02 Thread bengalih
> Note that SSL is likely the most important contributor to CPU > utilization in this setup. It might be a good idea to carefully > tune ciphers used. I believe I have set this fairly appropriately. If you know of a resource that would explain this in more detail I would appreciate it. > To r

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

Tuning client request buffering in ngx_http_proxy_module

2022-01-31 Thread bengalih
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 packet captures I found that the NGINX server was not transmitting data synchro