Re: Performance improvement on IBM HTTPServer
"Yves Legault" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <001201c58ee3$f34b83e0$ebc4148e@YvesL> |
Hi, Actually, the timestamp I see in my access_log is equal or bigger than the last timestamps I logged from inside my cgi... So I don't know what's going on, it looks to me like the timestamp is the time when my cgi returns, not when fastcgi is called... For instance, I logged the time at the start of my cgi and then in the middle and then at the end, a difference of 10 seconds... the timestamp in access_log exactly matches the last timestamp in my log. -- YL ----- Original Message ----- From: "Anthony Quinn" <[email protected]> To: "Yves Legault" <[email protected]>; <fastcgi-developers-xGejAJT2w6yOE5Ap4OspEtHuzzzSOjJt@public.gmane.org> Sent: Friday, July 22, 2005 1:17 PM Subject: Re: [FASTCGI] Performance improvement on IBM HTTPServer > Depending on what you used for development there is log4cxx that you could use > for logging inside of the cgi's. > > http://logging.apache.org/log4cxx/ > > Or you could come up with your own logging scheme - open up a file before you > hit the request loop and use the handle to output requests and start and end > times. > > Also the timestamp that shows in the access_log is the time the request came > in not the time it completed. > > http://httpd.apache.org/docs/2.0/logs.html > > --Anthony Quinn > > > > > > -----Original Message----- > From: "Yves Legault" [[email protected]] > Date: 07/22/2005 01:11 PM > > I am running fastcgi on an AIX box with IBM's HTTPServer. Everything looks > like it's working fine but now my boss wants me to produce metrics... He > wants to know how much faster the CGI is running and wants to be able to > monitor the performance. > > Now I know I can look at the access_log to find out when commands have > completed but there doesn't seem to be any indication of how to find when the > request was first received from the user. > > Does anyone know how to calculate the total time the request is being > manipulated by the serverand application. > > -- YJRL > ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/