Welcome! Log In Create A New Profile

Advanced

Re: Testing the performance of NGINX for both http and https traffic.

Francis Daly
June 19, 2020 09:18AM
On Tue, Jun 16, 2020 at 08:16:28PM +0530, Kaushal Shriyan wrote:

Hi there,

> Is there a way to find out the below mentioned
> performance metrics.
>
> 1. Measure Nginx webserver performance for both http and https traffic.
> 2. Measure system resources like CPU, Memory (RAM) and Network bandwidth
> consumed by Nginx web server to handle both http and https traffic.

There is not much nginx-specific in the question here.

For measuring webserver performance, your favourite web search engine
will probably give lots of links.

"ab" and "siege" have been around for a while.

For measuring system resource usage, search for generic tools suitable
for your operating system.

You could periodically run commands like "uptime" and "free" and see how
they change as the load changes. Or use something like "sar" to handle
the "periodic" part.

"network traffic" during a web request is probably most easily counted
by the client. If you do care about network retries and the like,
then monitoring the interface traffic using something like "bmon" or
well-known snmp polling may be useful.


Overall - measuring performance or resource metrics is mostly unrelated
to the thing being tested. The hard part is usually deciding what you
do and do not want to measure. Then find (or build) a tool that does
what you want and does not do what you do not want.

So you may find it useful to investigate measuring tools for your system,
while waiting to see if there is a more specific answer provided on
the list.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Testing the performance of NGINX for both http and https traffic.

kaushalshriyan June 16, 2020 10:48AM

Re: Testing the performance of NGINX for both http and https traffic.

kaushalshriyan June 17, 2020 10:42PM

Re: Testing the performance of NGINX for both http and https traffic.

Francis Daly June 19, 2020 09:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
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