[zeromq-dev] Odd numbers with zeromq
whatpuzzlesme at gmail.com
Wed Sep 19 04:38:12 CEST 2012
Thank you again for your help. Now with message copying, i am getting a
throughput of .8Gb, which is what i would have expected on a 1Gb network.
On Tue, Sep 18, 2012 at 4:20 PM, Paul Colomiets <paul at colomiets.name> wrote:
> Hi Maninder,
> On Tue, Sep 18, 2012 at 10:21 PM, Maninder Batth
> <whatpuzzlesme at gmail.com> wrote:
> > Paul,
> > Here is number of messages as seen by the server in one second. Each
> > is 1024 byte excluding tcp/ip and zmq headers. Based on these numbers
> and i
> > am getting a throughput of 1.4 Gb/sec.
> > Enclosed is the source code for the server and the client.
> Zeromq closes the message after sending. So you effectively send
> messages of the zero length after first one. You should use
> zmq_msg_copy (or whatever C++ API is there) before doing send() in
> case you want to reuse message.
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev