Welcome! Log In Create A New Profile

Advanced

Re: Precisions about $upstream_response_time

Maxim Dounin
November 20, 2015 01:28PM
Hello!

On Fri, Nov 20, 2015 at 07:01:45PM +0100, B.R. wrote:

> http://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_response_time
>
> Does this represents the time from the end of the request forward to the
> upstream until it starts to answer (kinda TTFB)?
> Or does that include the whole response has been received, excluding the
> time taken to forward it to the client?
> Or maybe something else?

It's the time taken to get full response from an upstream server,
not just time to first byte. It doesn't take into account
anything related to sending the response to the client, though it
should be kept in mind that in some cases a client can delay
reading a response from an upstream server, see
http://nginx.org/r/proxy_buffering.

If you want something similar to TTFB, take a look at
$upstream_header_time.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Precisions about $upstream_response_time

B.R. November 20, 2015 01:04PM

Re: Precisions about $upstream_response_time

Maxim Dounin November 20, 2015 01:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
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