On March 24, 2011 4:09 , Tushar Chavan
<tushar.chavan@xxxxxxxxxxx> wrote:
Suppose if choose , lbmethod = bytraffic , then how Apache will come to know that how much traffic it should pass to server A & B. By doing weighted byte counting.
By doing weighted request counting. In the following example, for each three requests, one request will be sent to 1.2.3.4:8009 and three requests will be sent to 1.2.3.5:8009. Apache HTTP Server keeps track internally of how many requests have been sent to each balance member, and uses that information plus the loadfactor parameter the BalanceMember directive to determine to which server to send the next request to. ProxyPass / balancer://mycluster/ lbmehtod=bytraffic works a similar way, but it counts bytes
instead of counting requests.See http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass for more information. Or am I misunderstanding your question? -- Mark Montague mark@xxxxxxxxxxx |