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 ProxySet lbmethod=roundrobin BalancerMember http://machine1/index.php BalancerMember http://machine2/index.php

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

2009-12-23 Thread Eric Covener
On Wed, Dec 23, 2009 at 12:37 PM, ricardo figueiredo wrote: > How do I add RR in mod_proxy ??? > http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markup&pathrev=594659 > I put but doesn't work !! http://catb.org/~esr/faqs/smart-questions.html#before Did you dow

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=markup&pathrev=594659 I put but doesn't work !! Ricardo On Tue, Dec 22,

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 wrote: > 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/m

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=markup&pathrev=594659 > > Is This code RR right ??? > > Ricardo > > On Mon, Dec 21, 2009 at 12:04 PM, ricardo figueiredo > wr

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=markup&pathrev=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 ricardo figueiredo
Where Can I get this algorithm ??? Which URL ??? Ricardo On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski 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 RR impleme

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,

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

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

2009-12-15 Thread ricardo figueiredo
Perfect !!! I want to know "How does It work ??" Ricardo On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski wrote: > 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 thou

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 De

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

2009-12-15 Thread Eric Covener
On Tue, Dec 15, 2009 at 12:20 PM, ricardo figueiredo 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 would be: > A        

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 tha

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 as

[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