[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 21:27:57 CEST 2011
Hi list,
I'm testing a scenario in which I have one publisher sending messages
to multiple subscribers.
In the message the publisher sends I'm sending the value of
QueryPerformanceCounter and when the subscriber gets a message it
calculates the difference between the current QueryPerformanceCounter
to the one stored in the message.
It seems that for 1000 messages sent from the publisher to the
subscribers, the last one takes around 20 times than the average time
it takes for the previous ones to arrive.
Seems as the last one is "stuck" and in some queue and is released
probably after a timeout.
Can someone explain how can I overcome this? (via configuration?)
Attached is an excel listing the results of one of the subscribers
which receives 1000 messages from the publisher.
You can see that it took the 1000th message much more time (~20 times
more) to arrive than the previous ones.
Regards,
Omer.
--
Omer Bacharach
Director of Software Development
Toot Trading Ltd.
omer at toot-trading.com
Mobile +972-544-317959
Office +972-3-7449466
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.xlsx
Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Size: 41542 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111011/7522f10c/attachment.xlsx>
More information about the zeromq-dev
mailing list