[zeromq-dev] Odd numbers with zeromq

Maninder Batth whatpuzzlesme at gmail.com
Fri Sep 14 18:56:45 CEST 2012


Regarding calculations, i am simply incrementing a counter after send()....
and message size is constant.

On Fri, Sep 14, 2012 at 1:35 AM, Pieter Hintjens <ph at imatix.com> wrote:

> On Fri, Sep 14, 2012 at 1:33 AM, Maninder Batth <whatpuzzlesme at gmail.com>
> wrote:
>
> > With message size of 1KB, i am able to publish 5157783 messages per
> second.
> > How is this possible ?
>
> Presumably your calculations are wrong somewhere.
>
> > 1. Clients which wait for ack to publish next message
> > In this use case, client publishes next message ONLY after it gets a
> message
>
> The cost of a round-trip is going to be around 300 microseconds on a
> local loop, up to 1000x more across the Internet. Try 'ping' to see
> what it gives. If you do a round-trip for each message your
> performance is going to be very low.
>
> -Pieter
> _______________________________________________
> 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/20120914/8a583f33/attachment.htm>


More information about the zeromq-dev mailing list