Re: [us...@httpd] Request Counting algorithm

2010-01-02 Thread ricardo figueiredo
I've just downloaded !!! I've compiled (using APXS, i. e. apxs -i -a -c mod_lbmethod_rr.c) In http.conf: LoadModule proxy_balancer_rr_module modules/mod_lbmethod_rr.so Proxy balancer://mycluster ProxySet lbmethod=roundrobin BalancerMember http://machine1/index.php BalancerMember

Re: [us...@httpd] Request Counting algorithm

2009-12-23 Thread ricardo figueiredo
How do I add RR in mod_proxy ??? http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markuppathrev=594659 http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markuppathrev=594659I put but doesn't work !! Ricardo On Tue, Dec 22,

Re: [us...@httpd] Request Counting algorithm

2009-12-23 Thread Eric Covener
On Wed, Dec 23, 2009 at 12:37 PM, ricardo figueiredo ricardoogra...@gmail.com wrote: How do I add RR in mod_proxy ??? http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markuppathrev=594659 I put but doesn't work !!

Re: [us...@httpd] Request Counting algorithm

2009-12-22 Thread ricardo figueiredo
Sorry But doesn't work I added RR in the end of mod_proxy !!! Ricardo On Mon, Dec 21, 2009 at 3:06 PM, Jim Jagielski j...@apache.org wrote: Yep On Dec 21, 2009, at 10:54 AM, ricardo figueiredo wrote: I found this link:

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread Jim Jagielski
There is an experimental/example RR LB provider module in httpd-trunk that I wrote that works. On Dec 18, 2009, at 4:01 PM, ricardo figueiredo wrote: Is there RR implemented in mod_proxy ??? Independently of the lbfactor. I need too much !!! Thank you Ricardo On Tue, Dec 15, 2009 at

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread ricardo figueiredo
Where Can I get this algorithm ??? Which URL ??? Ricardo On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski j...@jagunet.com wrote: There is an experimental/example RR LB provider module in httpd-trunk that I wrote that works. On Dec 18, 2009, at 4:01 PM, ricardo figueiredo wrote: Is there

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread ricardo figueiredo
I found this link: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markuppathrev=594659 Is This code RR right ??? Ricardo On Mon, Dec 21, 2009 at 12:04 PM, ricardo figueiredo ricardoogra...@gmail.com wrote: Where Can I get this algorithm ??? Which URL ???

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread Jim Jagielski
Yep On Dec 21, 2009, at 10:54 AM, ricardo figueiredo wrote: I found this link: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markuppathrev=594659 Is This code RR right ??? Ricardo On Mon, Dec 21, 2009 at 12:04 PM, ricardo figueiredo

Re: [us...@httpd] Request Counting algorithm

2009-12-18 Thread ricardo figueiredo
Is there RR implemented in mod_proxy ??? Independently of the lbfactor. I need too much !!! Thank you Ricardo On Tue, Dec 15, 2009 at 5:11 PM, ricardo figueiredo ricardoogra...@gmail.com wrote: Perfect !!! I want to know How does It work ?? Ricardo On Tue, Dec 15, 2009 at 5:08 PM, Jim

[us...@httpd] Request Counting algorithm

2009-12-15 Thread ricardo figueiredo
Hi, I was trying to implement Round Robin in mod_proxy, but I realized that Request Counting is like as Round Robin when all values of lbfactor are equal. Is That right ??? -- Thank you Ricardo

Re: [us...@httpd] Request Counting algorithm

2009-12-15 Thread André Warnier
ricardo figueiredo wrote: Hi, I was trying to implement Round Robin in mod_proxy, but I realized that Request Counting is like as Round Robin when all values of lbfactor are equal. Is That right ??? That sounds like a valid deduction. It don't think that it is necessarily of the same level

Re: [us...@httpd] Request Counting algorithm

2009-12-15 Thread ricardo figueiredo
Althrough, I did some tests and measuring the actives connections. The distribuition of requests doesn't equal. For example: A B C D 120 158 138 117 Using RR would be: A B C D 125 127 124 126 I think

Re: [us...@httpd] Request Counting algorithm

2009-12-15 Thread Eric Covener
On Tue, Dec 15, 2009 at 12:20 PM, ricardo figueiredo ricardoogra...@gmail.com wrote: Althrough, I did some tests and measuring the actives connections. The distribuition of requests doesn't equal. For example: A          B           C           D 120      158       138       117 Using RR

Re: [us...@httpd] Request Counting algorithm

2009-12-15 Thread Jim Jagielski
Almost, but not quite. RR says go to the next one in the list, no matter if it was just the last one to return whereas the request counting one factors that in... So even though after a period of time all will share 1/4 of the load, the ordering in which they share it will not be the same. On Dec