How would you track server performance in the sense of:
Count requests that were sent without any processing at all (the client was hungry)
Count requests that were sent during the process
Count requests that failed due to an error, at least in apache lvl
thanks
I am not an expert in this matter, but here is my approach to this,
Request timeouts generate a 408 error in the logs that are countable, and apache provides a variable %Dto measure the process time.
%D
, , .
,
, .
, - , , apache lvl
- , apache.
- .
Apache 2 , , .
Edit
, , , apache httpd server , nginx .
https://logz.io/
http://goaccess.prosoftcorp.com/
http://awstats.sourceforge.net/
Refrences:
http://httpd.apache.org/docs/current/mod/mod_log_config.html https://httpd.apache.org/docs/2.4/mod/mod_reqtimeout.html https://httpd.apache.org/docs/2.4/logs.html
, ( )
, Apache. Apache -, , ( -), , , . .
, , ( , ).
, Apache , . .
nginx , , .
Nginx ,/request/total
Nginx ,
, . - php, nginx .
Source: https://habr.com/ru/post/1016790/More articles:Why use a closure to assign instead of directly assigning a value to a key? - closuresSpecific JavaScript Page Using Content Security Policy (CSP) - performancehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1016787/google-identity-platform-cannot-exchange-authorization-code-for-refresh-and-access-tokens&usg=ALkJrhgJRA_nKZOQ8oBFifFn-C08VmDI0QSearch for the index of pairwise elements - pythonPostgreSQL returns java.sql.Types.OTHER when I select a constant with the AS keyword - javaUnderstanding OOP - How to Use a PDO Connection in Other Classes - oopRedux forms defaultValue - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1016793/why-do-you-need-superuser-permissions-to-read-the-real-time-clock-on-linux&usg=ALkJrhgnhMaa-QXzDmJoV1ZqT3viIokDlwWeak delegate becomes zero - iosEmoji to PNG or JPG to Node.js - how? - javascriptAll Articles