[zeromq-dev] loadbalancing problem?

Martin Sustrik sustrik at 250bpm.com
Wed Oct 20 15:47:15 CEST 2010


Sven,

> I saw, there already is some technique in the loadbalancer to take a
> busy pipe out of the loop.
> What I didn't find, was the reinsertion of that pipe. When (on what
> event and where) does the pipe get revive()ed again ? There are tons of
> revive() but no references to them.
>
> I think at this position it should be possible to unwind the routing
> information to search for the target pipe's socket ID and eventually
> choose another pipe for sending if found.

Yes. There is a way to remove the pipe from the load balancer. The 
problem is that you have no idea *when* you should remove it.

Martin



More information about the zeromq-dev mailing list