Re: priority servers in an instance

From: Karl Pietri <karl#slideshare.com>
Date: Fri, 20 Feb 2009 15:44:52 -0800


in my testing of different weights using balance leastconn the backup pool will get at least a proper porportion of requests as the other servers. it only starts to get more when there are more simultaneous requests. id rather it not get that first chunk. i'm thinking this is impossible now.

-Karl

On Fri, Feb 20, 2009 at 2:38 PM, John Lauro <john.lauro#covenanteyes.com>wrote:

> How about if you just use really large weight on the main servers, and
> really low on the fall back along with balance leastconn.
>
>
>
>
>
>
>
> *From:* Karl Pietri [mailto:karl#slideshare.com]
> *Sent:* Friday, February 20, 2009 5:24 PM
> *To:* haproxy#formilux.org
> *Subject:* priority servers in an instance
>
>
>
> Hello everyone,
> I am using haproxy with ruby on rails backend servers and am trying to
> setup a system that will have a few mongrels dedicated to priority traffic
> and spill over to the main pool if those are busy.
>
> i've attached a diagram of what i'm trying to accomplish.
>
> Eseentially i have 2 pools. all the servers in each pool have maxconn 1
> (because mongrel sucks). a magorit of servers are in pool A and serve my
> normal traffic. I want to dedicate a few servers to pool B so that they are
> usually unloaded for some priority traffic. For the trafic going to that
> pool i want it to go to the few servers there unless they are all busy and
> in that case send the traffic to pool A for processing along with the rest
> of the stuff.
>
> I thought backup would do this but backup servers are only given traffic if
> all servers in the pool are down. not if all servers are busy.
>
> -Karl Pietri
>
Received on 2009/02/21 00:44

This archive was generated by hypermail 2.2.0 : 2009/02/21 02:00 CET