[zeromq-dev] Odd numbers with zeromq

Maninder Batth whatpuzzlesme at gmail.com
Tue Sep 18 21:21:05 CEST 2012


Paul,
Here is number of messages as seen by the server in one second. Each
message 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.

Number of msgs in one second: 189448
Number of msgs in one second: 187253
Number of msgs in one second: 191877
Number of msgs in one second: 189329
Number of msgs in one second: 186831
Number of msgs in one second: 193623
Number of msgs in one second: 193909
Number of msgs in one second: 187524
Number of msgs in one second: 192248
Number of msgs in one second: 188696
Number of msgs in one second: 186850
Number of msgs in one second: 187961
Number of msgs in one second: 201370
Number of msgs in one second: 199532
Number of msgs in one second: 194561
Number of msgs in one second: 190004
Number of msgs in one second: 170991
Number of msgs in one second: 178643
Number of msgs in one second: 185415
Number of msgs in one second: 197018
Number of msgs in one second: 182171
Number of msgs in one second: 184114
Number of msgs in one second: 192708
Number of msgs in one second: 191136
Number of msgs in one second: 196130
Number of msgs in one second: 197735
Number of msgs in one second: 189077


Thank you,
Jim

On Sun, Sep 16, 2012 at 8:04 AM, Chuck Remes <lists at chuckremes.com> wrote:

> On Sep 15, 2012, at 8:37 PM, Maninder Batth wrote:
>
> > Paul,
> > 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
> second.
> > 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 ?
>
> Please publish your latest code so we can see how you are calculating
> things now.
>
> cr
>
>
> _______________________________________________
> 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/20120918/8b84a45e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zclient.cpp
Type: text/x-c++src
Size: 1409 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120918/8b84a45e/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zserver.cpp
Type: text/x-c++src
Size: 1315 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120918/8b84a45e/attachment-0001.cpp>


More information about the zeromq-dev mailing list