[zeromq-dev] client doesn't receive all messages from server

Pieter Hintjens pieterh at gmail.com
Wed Nov 28 09:46:21 CET 2012


The clonesrv1 and clonecli1 are first drafts, please use the final versions.
On Nov 28, 2012 8:14 AM, "Alexandr Druzhinin" <drug2004 at bk.ru> wrote:

> Hello
> First of all I'd like to thank Peter and the others for their great and
> very useful work.
> But I have some question - I take clonecli1 and clonesrv1, run the
> client first and then start the server (all on the same box, ubuntu
> 12.04), then interrupt them with ctrl-c (now the server is the first)
> and the server always put more messages out than clients get in. Except
> when I use a little delay in main loop like:
>
>          zclock_sleep(1);
>
> in this case clients receive all messages, but throughput is
> considerably worse. What did I wrong or may be missed out? Or it should
> be so?
>
> Thanks in advance,
> Alexandr
> _______________________________________________
> 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/20121128/1387f2fd/attachment.htm>


More information about the zeromq-dev mailing list