Welcome! Log In Create A New Profile

Advanced

Re: Tuning client request buffering in ngx_http_proxy_module

February 03, 2022 11:06PM
On Wed, Feb 2, 2022 at 12:45 PM bengalih <nginx-forum@forum.nginx.org> 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 would explain this in more detail I would appreciate it.

Key exchange is the expensive part of a TLS connection. Once the key
exchange is complete, the bulk encryption using AES or ChaCha is
relatively fast.

Key exchange will be measured in hundreds of connections per second.
Once the connection is established thousands of clients can be
serviced. But the key exchange is the hard part.

If you use an integer field for key exchange, then DH-2048 and DH-3072
will bog the machine down. You can make key exchange easier by using
elliptic curves.

Also see articles like https://en.wikipedia.org/wiki/TLS_acceleration

Jeff

Jeff
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Tuning client request buffering in ngx_http_proxy_module

bengalih January 31, 2022 07:53PM

Re: Tuning client request buffering in ngx_http_proxy_module

Maxim Dounin February 01, 2022 09:46AM

Re: Tuning client request buffering in ngx_http_proxy_module

bengalih February 01, 2022 03:19PM

Re: Tuning client request buffering in ngx_http_proxy_module

Maxim Dounin February 01, 2022 06:34PM

Re: Tuning client request buffering in ngx_http_proxy_module

bengalih February 02, 2022 12:42PM

Re: Tuning client request buffering in ngx_http_proxy_module

Francis Daly February 03, 2022 07:58PM

Re: Tuning client request buffering in ngx_http_proxy_module

noloader February 03, 2022 11:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 242
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready