load balancing depending on actual load

Manlio Perillo manlio_perillo at libero.it
Mon Jul 16 16:51:32 MSD 2007


Martin Minka ha scritto:
> Hello,
> is there a way or is there plan to automatically change weight for 
> server in upstream depending on actual system load ?
> 
> I have different HW on 7 apache web servers and it is nightmare to 
> optimal set the weights.
> 

Not sure, but one of your backend can simply return a 503 response code 
when the system load is high.

nginx, then, will proxy the request to another backend:
http://wiki.codemongers.com/NginxHttpProxyModule#proxy_next_upstream


> Sincerely,
> Martin Minka
> 


Regards  Manlio Perillo





More information about the nginx mailing list