How to improve Nginx performance

Francis Daly francis at daoine.org
Mon Feb 15 23:04:59 UTC 2021


On Thu, Feb 11, 2021 at 07:26:50AM +0530, Jeya Murugan wrote:

Hi there,

> We are using Nginx as a cache server for testing.
> 
> On performing the HTTPS functional and performance test, we could see a
> drastic drop in performance (in HTTPS) compared to HTTP requests.
> 
> Can you please suggest what parameters we can tweak (like connection reuse)
> to get better results? Or Any other suggestions are really helpful.

You're probably more likely to get useful tips if you can show your
starting point, and describe what result you want.

https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/
is a few years old, but does include a link to the specific tests that
were done then.

It also has a link to a sizing guide with some numbers when using nginx
as a reverse proxy.

Maybe what you see as "a drastic drop", is normal, if every http request
involves a new from-scratch tls connection?

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list