I have a C++ executable which makes use of cURL to make HTTP(s) requests to an external server. Is there a good way for me to determine the requests sent per second? Any way or tool will be helpful.
Asked
Active
Viewed 161 times
0
-
Is it merely an executable or your compiled code? – wquinoa Jan 21 '22 at 08:27
-
@wquinoa : I have the code with me .. but would be interested to know any external tool as well for measuring this by adding any additional code. – Test Jan 21 '22 at 09:59
1 Answers
1
Increment a counter every time the application makes a request. Have a separate timer that checks and resets the counter every second. Average the values over time as needed.

Remy Lebeau
- 555,201
- 31
- 458
- 770
-
Is there any external tool for sniffing this as i don't want to add additional processing code which can cause latency. – Test Jan 21 '22 at 10:00