[zeromq-dev] Fwd: problems with load-balancing exchange

Pavel Gushcha pavimus at gmail.com
Fri Aug 7 21:37:58 CEST 2009


2009/8/4 Martin Hurton <hurtonm at gmail.com>

> Hi Pavel,
>
> Thanks for the test application, it was very helpful. I am attaching a
> small patch that fixes the problem. This is a workaround; the proper
> solution is expected to be part of the next release. Please let us
> know if it has helped.


This workaround has one problem: if prompt is started after display, display
doesn't receive any messages.
But this workaround works perfectly with dynamic start/shutdown of display
clients (started two display, shutdown one, start again, etc), no one
problem found.

>
>
> - Martin
>
> On Wed, Jul 29, 2009 at 11:06 AM, Pavel Gushcha<pavimus at gmail.com> wrote:
> > I tried to buid test apps from chat example (see attaches). Prompt
> creates
> > global load-balancing exchange and display creates three api_thread with
> one
> > local queue for each api_thread. I think, i miss something, because now i
> > get message dups in any case (if i start prompt after display of display
> > after prompt).
> >
> > PS: I use official release 0MQ v1.0.0
> >
> > 2009/7/28 Martin Sustrik <sustrik at fastmq.com>
> >>
> >> Martin Hurton wrote:
> >>>
> >>> Hi Pavel,
> >>>
> >>> Could you please prepare a minimal test program so that I can
> >>> reproduce this on my own?
> >>
> >> Agreed. This looks like a straightforward bug. Your test program would
> >> help to reproduce the issue.
> >>
> >> Martin
> >
> >
> >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090807/196b5031/attachment.htm>


More information about the zeromq-dev mailing list