Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Maxim Dounin
September 29, 2012 03:26AM
Hello!

On Fri, Sep 28, 2012 at 01:08:30PM -0700, Anton Jouline wrote:

> hi Maxim,
>
> yes, attribution in CHANGES.ru would be great, thanks!
> In Russian, my name is spelled as: Антон Жулин

Yep, that's what I supposed but wasn't sure. Thanks for
clarification. :)

> One comment on changeset 4872:
>
> On line #1385, wouldn't you want to call ngx_resolver_rotate()
> instead of ngx_resolver_dup() ? To cover the case of the name
> not being cached at all for some odd reason - like, if TTL is set
> to 0 seconds. Or, if TTL is really small, which would also skew
> the distribution to use the 1st addr a lot more than others.

I think in this case it's up to DNS server to do proper
rotation/randomization, and if it doesn't do that - it's probably
for reason.

--
Maxim Dounin
http://nginx.com/support.html

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

[PATCH] Random peer selection for implicit upstream defined by proxy_pass Attachments

Anton Jouline 1413 August 21, 2012 02:38PM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Anton Jouline 655 August 27, 2012 11:46AM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Maxim Dounin 540 September 07, 2012 10:46AM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Anton Jouline 590 September 08, 2012 04:20AM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Maxim Dounin 529 September 19, 2012 11:26AM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Anton Jouline 538 September 20, 2012 01:40AM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Maxim Dounin 516 September 28, 2012 02:52PM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Anton Jouline 482 September 28, 2012 04:10PM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Maxim Dounin 645 September 29, 2012 03:26AM

Re: [PATCH] Random peer selection for implicit upstream defined by proxy_pass

Anton Jouline 518 September 15, 2012 12:22PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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