Welcome! Log In Create A New Profile

Advanced

Re: Large latency increase when using a resolver for proxy_pass

Maxim Dounin
March 01, 2017 10:08AM
Hello!

On Wed, Mar 01, 2017 at 09:05:32AM -0500, user384829 wrote:

> OK thanks for the reply but how do I resolve this? Am I supposed to use
> upstream blocks with hostnames in them? My impression is that these won't be
> resolved inline with the TTL.

If you control your backends, consider using normal nginx
procedure with configuration reload to re-resolve names instead.
Alternatively, consider using plain http to communicate with
backends, or tuning SSL for faster handshakes (using ECDSA
certs on backends will help a lot).

A perfect solution for your specific case would probably be an
upstream block with "server ... resolve", but this functionality
is only available in nginx-plus
(http://nginx.org/en/docs/http/ngx_http_upstream_module.html#resolve).

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

Large latency increase when using a resolver for proxy_pass

user384829 March 01, 2017 07:32AM

Re: Large latency increase when using a resolver for proxy_pass

Maxim Dounin March 01, 2017 07:46AM

Re: Large latency increase when using a resolver for proxy_pass

user384829 March 01, 2017 09:05AM

Re: Large latency increase when using a resolver for proxy_pass

Maxim Dounin March 01, 2017 10:08AM

Re: Large latency increase when using a resolver for proxy_pass

user384829 March 03, 2017 04:53AM

Re: Large latency increase when using a resolver for proxy_pass

Maxim Dounin March 03, 2017 07:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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