Re: least connections first balancing

From: Romuald du Song <rdusong#gmail.com>
Date: Tue, 20 Nov 2007 14:54:06 +0100


On Nov 20, 2007 5:12 AM, Willy Tarreau <w#1wt.eu> wrote:

> On Mon, Nov 19, 2007 at 04:53:01PM -0500, James Quacinella wrote:
> > Dan Zubey wrote:
> > >My interem solution until leastconn is merged in is to have a script
> > >read the status of haproxy, and re-write the config file and weight the
> > >servers, so that slow servers arn't used.
> > >
> > >Right now I'm just soft-restarting haproxy every few minutes, but I
> wish
> > >there was a way to tell it to change the value of just a single
> server's
> > >weight.
> >
> > You can add another person to the list of people who would like to see
> > that feature. Changing HAProxy's run time parameters on the fly via some
> > interface (either CLI, XML-RPC, etc) would definitely be a great feature
> > to see with HAProxy.
>
> Yes, the most wanted feature is to be able to enable/disable a server on
> the fly. A basic CLI is planned on a UNIX socket. That's why for the stats
> page, you have to send "show stats" and not just connect :-)
>
> Cheers,
> Willy
>
>
>

Hi Willy,
As it seems to answer the question I was about to submit to the list I take this opportunity
 to be fixed.
When you talk about to enable/disable a server on the fly the server might be perfectly OK
 in regards to health check but be disabled by the administrator and established connections
 not closed and new connections forwarded to available servers ? A typical procedure to have
 servers updated while keeping service alive. Is my understanding correct ?

-- 
-Tout ce qui n'est pas donné est perdu - Hasari Pal
Received on 2007/11/20 14:54

This archive was generated by hypermail 2.2.0 : 2007/11/20 15:30 CET