[zeromq-dev] Pub Sub last message takes much more time to arrive than the previous ones
Martin Sustrik
sustrik at 250bpm.com
Wed Oct 12 12:51:01 CEST 2011
Hi Omer,
> Thanks for your response.
> The problem is reproducible.
> Attaching the pub code and the sub code, and the batch file which
> operates both (attached as pubsub.txt, please rename to pubsub.bat).
>
> please call "pubsub.bat 10 1000"
>
> This will generated one publisher which sends 1000 messages to 10 subscribers.
> When each subscriber gets the whole 1000 messages it will dump the
> results to a file (<subscriber_number>.tda).
> The left most column is the qpc of the message when was sent , and the
> one to the right is the qpc when was received.
> The difference between them is how time did it take the message to
> arrive. you can see that the difference (on every tda file) in the
> last message (1000th) is ~20 times bigger than the rest.
Which version of 0MQ are you using?
Martin
More information about the zeromq-dev
mailing list