You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ricardo figueiredo <ri...@gmail.com> on 2009/12/15 17:43:18 UTC

[users@httpd] Request Counting algorithm

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: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
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 http://machine2/index.php
    BalancerMember http://machine3/index.php
    BalancerMember http://machine4/index.php
</Proxy>

When I start APACHE I don't see web page !!!

Ricardo

On Wed, Dec 23, 2009 at 5:08 PM, Eric Covener <co...@gmail.com> wrote:

> On Wed, Dec 23, 2009 at 12:37 PM, ricardo figueiredo
> <ri...@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=markup&pathrev=594659
> > I put but doesn't work !!
>
> http://catb.org/~esr/faqs/smart-questions.html#before
>
> Did you download it, compile it, install it, load it, and try to
> configure "roundrobin" as your LB method?
>
> What happened?
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by Eric Covener <co...@gmail.com>.
On Wed, Dec 23, 2009 at 12:37 PM, ricardo figueiredo
<ri...@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=markup&pathrev=594659
> I put but doesn't work !!

http://catb.org/~esr/faqs/smart-questions.html#before

Did you download it, compile it, install it, load it, and try to
configure "roundrobin" as your LB method?

What happened?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
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

<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, 2009 at 2:56 PM, ricardo figueiredo <
ricardoogrande@gmail.com> wrote:

> 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 <ji...@apache.org> 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/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 <
>> ricardoogrande@gmail.com> wrote:
>> > Where Can I get this algorithm ??? Which URL ???
>> >
>> > Ricardo
>> >
>> >
>> > On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski <ji...@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 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 <
>> ricardoogrande@gmail.com> wrote:
>> > >
>> > > Perfect !!!
>> > >
>> > > I want to know "How does It work ??"
>> > >
>> > > Ricardo
>> > >
>> > > On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com>
>> 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 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 15, 2009, at 11:43 AM, 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 ???
>> > > > --
>> > > > Thank you
>> > > >
>> > > > Ricardo
>> > >
>> > >
>> > > ---------------------------------------------------------------------
>> > > The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > > For additional commands, e-mail: users-help@httpd.apache.org
>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Muito Obrigado
>> > >
>> > > Ricardo
>> > >
>> > >
>> > >
>> > > --
>> > > Muito Obrigado
>> > >
>> > > Ricardo
>> >
>> >
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>> >
>> >
>> > --
>> > Muito Obrigado
>> >
>> > Ricardo
>> >
>> >
>> >
>> > --
>> > Muito Obrigado
>> >
>> > Ricardo
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> --
> Muito Obrigado
>
> Ricardo
>



-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
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 <ji...@apache.org> 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/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 <
> ricardoogrande@gmail.com> wrote:
> > Where Can I get this algorithm ??? Which URL ???
> >
> > Ricardo
> >
> >
> > On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski <ji...@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 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 <
> ricardoogrande@gmail.com> wrote:
> > >
> > > Perfect !!!
> > >
> > > I want to know "How does It work ??"
> > >
> > > Ricardo
> > >
> > > On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com>
> 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 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 15, 2009, at 11:43 AM, 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 ???
> > > > --
> > > > Thank you
> > > >
> > > > Ricardo
> > >
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> > >
> > >
> > > --
> > > Muito Obrigado
> > >
> > > Ricardo
> > >
> > >
> > >
> > > --
> > > Muito Obrigado
> > >
> > > Ricardo
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> > --
> > Muito Obrigado
> >
> > Ricardo
> >
> >
> >
> > --
> > Muito Obrigado
> >
> > Ricardo
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by Jim Jagielski <ji...@apache.org>.
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 <ri...@gmail.com> wrote:
> Where Can I get this algorithm ??? Which URL ???
> 
> Ricardo
> 
> 
> On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski <ji...@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 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 <ri...@gmail.com> wrote:
> >
> > Perfect !!!
> >
> > I want to know "How does It work ??"
> >
> > Ricardo
> >
> > On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com> 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 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 15, 2009, at 11:43 AM, 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 ???
> > > --
> > > Thank you
> > >
> > > Ricardo
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> > --
> > Muito Obrigado
> >
> > Ricardo
> >
> >
> >
> > --
> > Muito Obrigado
> >
> > Ricardo
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 
> -- 
> Muito Obrigado
> 
> Ricardo
> 
> 
> 
> -- 
> Muito Obrigado
> 
> Ricardo


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
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 <
ricardoogrande@gmail.com> wrote:

> Where Can I get this algorithm ??? Which URL ???
>
> Ricardo
>
>
> On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski <ji...@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 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 <
>> ricardoogrande@gmail.com> wrote:
>> >
>> > Perfect !!!
>> >
>> > I want to know "How does It work ??"
>> >
>> > Ricardo
>> >
>> > On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com> 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 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 15, 2009, at 11:43 AM, 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 ???
>> > > --
>> > > Thank you
>> > >
>> > > Ricardo
>> >
>> >
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>> >
>> >
>> > --
>> > Muito Obrigado
>> >
>> > Ricardo
>> >
>> >
>> >
>> > --
>> > Muito Obrigado
>> >
>> > Ricardo
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> --
> Muito Obrigado
>
> Ricardo
>



-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
Where Can I get this algorithm ??? Which URL ???

Ricardo

On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski <ji...@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 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 <
> ricardoogrande@gmail.com> wrote:
> >
> > Perfect !!!
> >
> > I want to know "How does It work ??"
> >
> > Ricardo
> >
> > On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com> 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 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 15, 2009, at 11:43 AM, 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 ???
> > > --
> > > Thank you
> > >
> > > Ricardo
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> > --
> > Muito Obrigado
> >
> > Ricardo
> >
> >
> >
> > --
> > Muito Obrigado
> >
> > Ricardo
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by Jim Jagielski <ji...@jaguNET.com>.
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 5:11 PM, ricardo figueiredo <ri...@gmail.com> wrote:
> 
> Perfect !!!
> 
> I want to know "How does It work ??"
> 
> Ricardo
> 
> On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com> 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 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 15, 2009, at 11:43 AM, 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 ???
> > --
> > Thank you
> >
> > Ricardo
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 
> -- 
> Muito Obrigado
> 
> Ricardo
> 
> 
> 
> -- 
> Muito Obrigado
> 
> Ricardo


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
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 <
ricardoogrande@gmail.com> wrote:

>
> Perfect !!!
>
> I want to know "How does It work ??"
>
> Ricardo
>
> On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com> 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 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 15, 2009, at 11:43 AM, 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 ???
>> > --
>> > Thank you
>> >
>> > Ricardo
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> --
> Muito Obrigado
>
> Ricardo
>



-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
Perfect !!!

I want to know "How does It work ??"

Ricardo

On Tue, Dec 15, 2009 at 5:08 PM, Jim Jagielski <ji...@jagunet.com> 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 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 15, 2009, at 11:43 AM, 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 ???
> > --
> > Thank you
> >
> > Ricardo
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by Jim Jagielski <ji...@jaguNET.com>.
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 15, 2009, at 11:43 AM, 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 ???
> -- 
> Thank you
> 
> Ricardo


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Request Counting algorithm

Posted by Eric Covener <co...@gmail.com>.
On Tue, Dec 15, 2009 at 12:20 PM, ricardo figueiredo
<ri...@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 would be:
> A          B           C           D
> 125      127       124       126
> I think that there would be a small difference in the number of connections
> between machines.
> Ricardo

Is the balancing coordinated across processes?  Try testing with 1
child process only.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Request Counting algorithm

Posted by ricardo figueiredo <ri...@gmail.com>.
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 that there would be a small difference in the number of connections
between machines.

Ricardo




On Tue, Dec 15, 2009 at 2:55 PM, André Warnier <aw...@ice-sa.com> wrote:

> 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 e=Mc2 however.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] Request Counting algorithm

Posted by André Warnier <aw...@ice-sa.com>.
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 e=Mc2 however.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org