Re: load balancer byrequest algorithm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would not expect a specific pattern (or schedule), per se, but rather
an overall trend or statistical average.

> On Feb 2, 2015, at 7:38 AM, Chen, Yongcheng <Yongcheng.Chen@xxxxxxxxxxxx> wrote:
> 
> Hi everybody,
>  
> I’m testing now the apache load balancer. And I configured my apache server for testing the example from apache document (http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html):
>  
> worker
> a
> b
> lbfactor
> 70
> 30
>  
> lbstatus
> -30
> 30
> lbstatus
> 40
> -40
> lbstatus
> 10
> -10
> lbstatus
> -20
> 20
> lbstatus
> -50
> 50
> lbstatus
> 20
> -20
> lbstatus
> -10
> 10
> lbstatus
> -40
> 40
> lbstatus
> 30
> -30
> lbstatus
> 0
> 0
> (repeat)
>  
> My configuration was:
>     <Proxy balancer://ServerCluster>
>       BalancerMember http://vh-srv01:8080 min=1 max=50 loadfactor=70 route=vh-srv01
>       BalancerMember http://vh-srv02:8080 min=1 max=50 loadfactor=30 route=vh-srv02
> </Proxy>
>  
> And I used also the setting: “lbmethod=byrequests”
>  
> I expected such a schedule: “a b a a a b a a b a”
> However in the real test, I got “a a b a a b a a a b”.
>  
> Can somebody explain what is the problem?
>  
> Best Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux