Welcome! Log In Create A New Profile

Advanced

Re: How to see nginx rps (requests per second)

January 07, 2012 09:35AM
@atrus

Please remember that what you are looking for is a "human" value, as opposed to the snapshot type of values the server can reliably provide. The reason why nginx does not provide what you are looking for may be that the server would have to provide several intervals to satisfy everyone (second, millisecond, minute, hour, etc.), and that is neither practical nor reliable. Such data could also be misleading, depending on your use case. From a server point of view, the best thing to do was to give a total number of requests served and let the admins do the math as they see fit.

However, the stub status module provides easy-to-read data that you can parse with a script in a loop, or such a script could dump the stats in a database and you could then read that. That is the best long-term solution to your problem. Please remember too that this database does not need to be SQL, it could be RRD-based for example, or just plain files, whatever suits you best.

Regards,
Subject Author Posted

How to see nginx rps (requests per second)

atrus January 05, 2012 05:01AM

Re: How to see nginx rps (requests per second)

smallfish January 05, 2012 05:04AM

Re: How to see nginx rps (requests per second)

Yogui January 05, 2012 05:41AM

Re: How to see nginx rps (requests per second)

atrus January 05, 2012 09:12AM

Re: How to see nginx rps (requests per second)

Brian Akins January 06, 2012 09:06AM

Re: How to see nginx rps (requests per second)

AndriesLouw January 07, 2012 08:55AM

Re: How to see nginx rps (requests per second)

Yogui January 07, 2012 09:35AM

Re: How to see nginx rps (requests per second)

dhaval d. January 07, 2012 01:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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