[zeromq-dev] pub/sub performance help

Martin Sustrik sustrik at 250bpm.com
Thu Sep 1 13:43:35 CEST 2011

On 08/29/2011 04:19 PM, Chuck Remes wrote:

> 3. Replace the latency calc with a timer. When the subscriber
> receives its first message, start the timer. When it receives the
> "STOP" message, calculate latency by measuring the overall time and
> dividing by the number of messages received.

Be careful! The metric above says how long it takes to receive one 
message and it is unrelated to latency. See the attached picture.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: metrics.png
Type: image/png
Size: 8179 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110901/abc02ff5/attachment.png>

More information about the zeromq-dev mailing list