You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tiago Semprebom <ti...@yahoo.com.br> on 2006/04/26 21:04:02 UTC

[users@httpd] Intercepting request and processing time

I'm working with the Apache and I need to tuning some modules of the Apache  to implement my quality of service policy. 

Basically I need to intercept the incoming request, set the timestamp when the requests arrive and after they are processed.

so two questions:

1) - Which Apache module or Apache function is responsable for receive the incoming requests? 

2) - Does exist any structure about it or something like this?

Thank's in advance,

Tiago Semprebom,
UFSC/DAS

		
---------------------------------
 Yahoo! Search
 Imposto de Renda 2006: o prazo está acabando. Faça já a sua declaração no site da Receita Federal.

Re: [users@httpd] Intercepting request and processing time

Posted by Tiago Semprebom <ti...@yahoo.com.br>.
Thank's for reply Jorshua...

best regards

Tiago Semprebom

Joshua Slive <jo...@slive.ca> escreveu: On 4/26/06, Tiago Semprebom  wrote:
> I'm working with the Apache and I need to tuning some modules of the Apache
> to implement my quality of service policy.
>
> Basically I need to intercept the incoming request, set the timestamp when
> the requests arrive and after they are processed.
>
> so two questions:
>
> 1) - Which Apache module or Apache function is responsable for receive the
> incoming requests?
>
> 2) - Does exist any structure about it or something like this?
>
> Thank's in advance,

See mod_log_config, which has the %D logformat directive to give you
the number of milliseconds taken to serve the request.

If that doesn't give you enough info, you can look at the source code
of the module to see where it gets its information.  If you want to
see a module that acts both at the very beginning and very end of
processing, you can also look at the source for mod_log_forensic.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



		
---------------------------------
 Yahoo! Messenger com voz - Instale agora e faça ligações de graça. 

Re: [users@httpd] Intercepting request and processing time

Posted by Joshua Slive <jo...@slive.ca>.
On 4/26/06, Tiago Semprebom <ti...@yahoo.com.br> wrote:
> I'm working with the Apache and I need to tuning some modules of the Apache
> to implement my quality of service policy.
>
> Basically I need to intercept the incoming request, set the timestamp when
> the requests arrive and after they are processed.
>
> so two questions:
>
> 1) - Which Apache module or Apache function is responsable for receive the
> incoming requests?
>
> 2) - Does exist any structure about it or something like this?
>
> Thank's in advance,

See mod_log_config, which has the %D logformat directive to give you
the number of milliseconds taken to serve the request.

If that doesn't give you enough info, you can look at the source code
of the module to see where it gets its information.  If you want to
see a module that acts both at the very beginning and very end of
processing, you can also look at the source for mod_log_forensic.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org