Welcome! Log In Create A New Profile

Advanced

$rquest_time for only the time it spent getting data from the upstream

June 02, 2014 10:02AM
Hey all,

we used $request_time in the past to measure how long it took to serve
certain pages, this was never the problem, because there was something in
front of nginx, thus, the client read/write operatings didn't influence the
$request_time as much as a real client would.

However, now, that we'd like to skip that extra level of indirection, we
can't actually measure the time it took to actually process the request, as
$request_time now kind of doubles because internet clients are slow usually.

So is there a way to log the time the request handler required to "just
handle the request internally", without the reads and writes from/to the
client?

Many thanks in advance,
Christian Parpart.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

$rquest_time for only the time it spent getting data from the upstream

trapni June 02, 2014 10:02AM

Re: $rquest_time for only the time it spent getting data from the upstream

Maxim Dounin June 02, 2014 10:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready