Balancer Algorithms

Asif Ali azifali at gmail.com
Thu Nov 20 15:50:25 MSK 2008


Is this a good replacement instead of using Haproxy?

Asif Ali


On Thu, Nov 20, 2008 at 5:53 PM, Stephen Nelson-Smith <sanelson at gmail.com>wrote:

> Hi,
>
> >> That looks good.  If I add backend3.example.com backup, I assume that
> >> is used only if backed2 fails.
> >
> > No, your assumption is wrong.  All servers with backup flag are
> > activated if all servers without backup flag are dead.
>
> Ahh... So is there a way to do this:
>
> * backend1 (primary)>
> * if backend1 fails, send traffic to backend2
> * if backend2 fails, send traffic to backend3
>
> S.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20081120/570ac0de/attachment.html>


More information about the nginx mailing list