1 message in ru.sysoev.nginxload-balancing with timeout? Send req...
FromSent OnAttachments
armin roehrlSep 21, 2007 2:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:load-balancing with timeout? Send request when timed-out to a different box?Actions...
From:armin roehrl (armi@public.gmane.org)
Date:Sep 21, 2007 2:29:19 am
List:ru.sysoev.nginx

Hi,

I use nginx for load-balancing. The request comes in and let's say nginx sends
it to server1. Server1 fails, is the request than automatically sent to server2? After what
time? Can I change this time-interval?

If nginx sees that server1 is down, how long will it not send requests to it? Or
does nginx not care about and simply send the request and if server1 is down, the request
gets after some time automatically sent to server2?

My config looks like this:

http { upstream myproject { server 127.0.0.1:8000 weight=1; #server1 server 10.12.66.66:8000 weight=1; #server2 }

Thanks a lot for your help! -Armin