[zeromq-dev] Load balancing algorithm

Brian Granger ellisonbg at gmail.com
Tue Jun 29 16:39:09 CEST 2010


On Mon, Jun 28, 2010 at 2:52 PM, Peter Alexander <vel.accel at gmail.com> wrote:
> On Mon, Jun 28, 2010 at 3:46 PM, Peter Alexander <vel.accel at gmail.com> wrote:
>> On Mon, Jun 28, 2010 at 2:20 PM, Holger Hoffstaette
>> <holger.hoffstaette at googlemail.com> wrote:
>>> On Mon, 28 Jun 2010 11:08:13 -0500, Brian Granger wrote:
>>>
>>>> The current load balancing algorithm used by the XREQ socket is defined in
>>>> lb.cpp.  Requests are simply round robin'ed through the active pipes:
>>>> [snip]
>>>> I am wondering if we can do better than this.  My idea is to pick a client
>>>> at random, rather that walking through them sequentially.
>
> Selection of LB algorithm should be optional to the user depending on
> their particular use-case.

Yes, I think that makes sense.

> I don't know the difficulties in implementing this at this point, but
> I wonder if you all think it as worthy of consideration as I do.

I do!

Cheers,

Brian


> Peter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list