[zeromq-dev] Round robin problems with offline servers
Ian Barber
ian.barber at gmail.com
Fri Jun 1 15:44:22 CEST 2012
On Fri, Jun 1, 2012 at 12:33 PM, Pieter Hintjens <ph at imatix.com> wrote:
>
>
> > b) patch the code to provide a socket option that treats connecting as
> > though the pipe is full.
>
> Best.
>
Agreed - this is definitely the nice way to go.
> Actually I don't see the benefit of a round robin using connecting
> pipes while others are still active, so this might even tread in bug
> territory.
This is right. Please, file an issue with test cases (a C test case
> ideally), and lets fix this. If you want a work around in the
> meantime, use a variant on the LRU model.
>
> -Pieter
This is slightly complicated by the fact that either you'd have a massive
backwards compatability/expectation change (connect()ed sockets block on
first send() in many cases) or you'd have a disparity between the first
connection, and subsequent connections, which feels weird.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120601/422125dc/attachment.htm>
More information about the zeromq-dev
mailing list