[zeromq-dev] Pub Sub last message takes much more time to arrive than the previous ones

Omer Bacharach omer at toot-trading.com
Tue Oct 11 22:44:54 CEST 2011


is there a way to control the batch parameters, such that occasional
messages will have low latencies?

On Tue, Oct 11, 2011 at 10:28 PM, Pieter Hintjens <ph at imatix.com> wrote:
> On Tue, Oct 11, 2011 at 10:23 PM, Steven McCoy <steven.mccoy at miru.hk> wrote:
>
>> Took me a while as I couldn't see it in Google Preview:
>>   999 instances of ~999ns or whatever the time scale is and a final one at
>> ~20,000ns.
>
> This is over TCP?
>
> This is probably an artefact of the way you're measuring latency. 0MQ
> batches messages aggressively so you're probably seeing two batches,
> with a single message in the second batch. Naturally it'll arrive with
> an apparent spike in latency.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
Omer Bacharach
Director of Software Development
Toot Trading Ltd.
omer at toot-trading.com
Mobile +972-544-317959
Office +972-3-7449466



More information about the zeromq-dev mailing list