httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Yongcheng" <Yongcheng.C...@aed-sicad.de>
Subject [users@httpd] load balancer byrequest algorithm
Date Mon, 02 Feb 2015 12:38:51 GMT
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



Mime
View raw message