[zeromq-dev] Odd numbers with zeromq

Maninder Batth whatpuzzlesme at gmail.com
Fri Sep 14 18:55:09 CEST 2012


That does not sound right. These are tcp sockets internally, so either the
message should be sent OR an exception should be thrown. But, it should not
silently discard messages.....


On Fri, Sep 14, 2012 at 3:13 AM, Paul Colomiets <paul at colomiets.name> wrote:

> Hi ,
>
> On Thu, Sep 13, 2012 at 7:33 PM, Maninder Batth <whatpuzzlesme at gmail.com>
> wrote:
> > 2. Clients which publish without needing ack:
> > In this use case, a client publishes data as fast as it can in one
> direction
> > and server simply discards the output. Enclosed are files zserver.cpp and
> > zclient.cpp which accomplishes it.
> > What is puzzling to me is that i have 1Gb network, but based on the
> numbers
> > published by the zclient.cpp, i am able to publish 5GB in one second?
> > With message size of 1KB, i am able to publish 5157783 messages per
> second.
> > How is this possible ?
>
> You can publish at any speed. But do you check what is read at other
> end? Pub socket just discards message internally if the output queue
> is full.
>
> --
> Paul
> _______________________________________________
> 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/20120914/88f47b24/attachment.html>


More information about the zeromq-dev mailing list