Welcome! Log In Create A New Profile

Advanced

Re: How to improve Nginx performance

February 16, 2021 02:02AM
If you follow the suggested link in the previous post you can download an O'Reilly Nginx book.

One suggestion I have to improve performance is to firewall off all the 'bots. Firewalls are extremely efficient. Start with AWS:

https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html

Bots are half the internet traffic, but that includes both bad and good bots. If you are handy with bgp.he.net, I suggest blocking OVH.

Some people block entire countries.


  Original Message  


From: francis@daoine.org
Sent: February 15, 2021 3:05 PM
To: nginx@nginx.org
Reply-to: nginx@nginx.org
Subject: Re: How to improve Nginx performance


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@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to improve Nginx performance

jbalasubramanian February 10, 2021 08:58PM

Re: How to improve Nginx performance

Francis Daly February 15, 2021 06:06PM

Re: How to improve Nginx performance

gariac February 16, 2021 02:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready