[zeromq-dev] Reduce latency on Pub-Sub Broker

Robert Evans zwergzebra at googlemail.com
Thu May 31 07:40:49 CEST 2012

Hi Pieter,

I tried running the Pub/Sub and the Broker on 2 machines, but this
unfortunately didn't help. When I tried the Pub and Sub without a Broker on
2 machines, everything went fine - about 0,2 ms latency. But with the
broker inbetween it goes up to ~60ms, when I set a HWM of 10000 on the Pub
and Sub socket of the broker and on the publisher client. And when I sent
messages of 100-1000 byte size, the performance goes down to about 40 000
msg/s (don't know if this is a normal behaviour with the HWM).
I have uploaded my broker source code: http://pastebin.com/u03sEanp . Maybe
there is something wrong with it. I hope there is someone here who uses the
clrzmq binding and could help me. I will try porting the broker to C hoping
it's just a problem with the C# binding.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120531/7d4c02c9/attachment.htm>

More information about the zeromq-dev mailing list