Welcome! Log In Create A New Profile

Advanced

Re: recursive_error_pages limited to a chain of 11?

Maxim Dounin
September 25, 2012 11:52AM
Hello!

On Tue, Sep 25, 2012 at 10:57:23AM -0400, o456092@rtrtr.com wrote:

> Hi Maxim,
>
> Thanks for pointing this out.
>
> You mentioned using: proxy_next_upstream, rather than my current strategy
> - would you happen to know if this has any limitations? Will this serve the
> same purpose as the current configuration that I have? Would it perform,
> better, worse, or the same?

This depends on what you actually want to do with your
configuration. Single upstream block with proxy_next_upstream
e.g. won't allow you to define strict order of servers to query,
but will use configured balancer (round-robin by default) instead.
It might be seen as a limitation in some cases (if you need strict
execution order), but an advantage in others (if order doesn't
matter but you actually need load distribution).

For a use case very very similar to yours

proxy_next_upstream http_404;

was specifically implemented. It allows to ask servers in an
upstream block for a resource, falling back to other server(s) if
the resource isn't found.

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

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

recursive_error_pages limited to a chain of 11?

o456092@rtrtr.com September 25, 2012 09:41AM

Re: recursive_error_pages limited to a chain of 11?

Maxim Dounin September 25, 2012 10:28AM

Re: recursive_error_pages limited to a chain of 11?

o456092@rtrtr.com September 25, 2012 10:57AM

Re: recursive_error_pages limited to a chain of 11?

o456092@rtrtr.com September 25, 2012 11:30AM

Re: recursive_error_pages limited to a chain of 11?

Maxim Dounin September 25, 2012 11:52AM

Re: recursive_error_pages limited to a chain of 11?

Maxim Dounin September 25, 2012 12:08PM

Re: recursive_error_pages limited to a chain of 11?

o456092@rtrtr.com September 25, 2012 02:38PM

Re: recursive_error_pages limited to a chain of 11?

o456092@rtrtr.com September 25, 2012 05:21PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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