[zeromq-dev] Why is this Queue device blocking?

James Thornton james at jamesthornton.com
Wed Oct 19 19:18:04 CEST 2011


On Wed, Oct 19, 2011 at 9:17 AM, Ian Barber <ian.barber at gmail.com> wrote:
>
> Code looks all right - but I notice there's a solved notice there now
> so I guess it got fixed :)

Hi Ian -

Yes, Chuck was on IRC last night and helped me out.

One other thing -- what's the right way to change the load-balancing
algorithm when pushing data to the workers?

I threw in a conditional sleep() for all the workers except one to see
how it handled it, and looks like a simple  round robin because it
blocked on the sleep rather than using the first available worker. I'm
going to read through the guide again today, but any insight you can
provide would be appreciated.

Thanks.

- James



More information about the zeromq-dev mailing list