[zeromq-dev] Odd numbers with zeromq
Paul Colomiets
paul at colomiets.name
Fri Sep 14 10:13:37 CEST 2012
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
More information about the zeromq-dev
mailing list