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 <[email protected]> wrote: > Hi , > > On Thu, Sep 13, 2012 at 7:33 PM, Maninder Batth <[email protected]> > 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
