Sebastien,

I would have thought that you would get good results with:
balance leastconn
or
balance roundrobin

Try and see which you prefer...
They are both effected by the weight adjustments made by the agent.

However I don't believe their is a scheduler that always uses the lowest weight.



On 4 September 2013 23:39, Sebastien Estienne
<sebastien.estie...@gmail.com> wrote:
> Hello,
>
> I'm testing the patch of simon implementing agent-port.
>
> I'd like to loadbalance RTMP servers based on the CPU usage, so i
> implemented a small tcp servers that returned the percent of free CPU and
> use the agent-port feature.
>
> I want new connection to always go to the server with the lowest CPU usage,
> which balancing algorithm should i use to achieve this?
>
> thanx,
> Sebastien Estienne



-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

Reply via email to