Welcome! Log In Create A New Profile

Advanced

Re: Question concerning upstream backup servers

August 09, 2009 02:42AM
On Sun, Aug 09, 2009 at 08:19:31AM +0200, Victor Iggy wrote:

> How does nginx handle backup servers? For example..
>
> upstream squids {
> server 127.0.0.1:81; # squid 1
> server 127.0.0.1:82; # squid 2
> server 127.0.0.1:8001 backup; # nginx
> server 127.0.0.1:8089 backup; # perlbal
> }
>
>
> if both squids fail, How will nginx balance? Will it round-robin both
> backups? or will it try the first backup and then move to the next one
> if the first backup failed?
>
> Quite interested in this.

It will round-robin both backups.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Question concerning upstream backup servers

Victor Iggy August 09, 2009 02:19AM

Re: Question concerning upstream backup servers

Igor Sysoev August 09, 2009 02:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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