Re: least connections first balancing

From: Willy Tarreau <w#1wt.eu>
Date: Tue, 20 Nov 2007 05:12:28 +0100


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 Received on 2007/11/20 05:12

This archive was generated by hypermail 2.2.0 : 2007/11/20 06:00 CET