[zeromq-dev] Odd numbers with zeromq

Maninder Batth whatpuzzlesme at gmail.com
Sun Sep 16 03:37:24 CEST 2012

That was an excellent idea indeed. As i was simply following the first
example in the guide and developed on top of it, i did not read the api.
After going over the socket API, now, instead of how many messages can a
pub send in a second, i record, how many messages can a consumer get in one
This brought down the number considerably from 4.5GB/sec to 1.5Gb/sec.
But its still a mystery, how can i get a number of 1.5Gb over 1Gb network ?

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/20120915/88929830/attachment.htm>

More information about the zeromq-dev mailing list