httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [users@httpd] load balancer byrequest algorithm
Date Mon, 02 Feb 2015 13:42:37 GMT
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@aed-sicad.de> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message