[zeromq-dev] Inproc socket vs traditional queue/event

Martin Pales m.pales at gmail.com
Thu Apr 26 09:10:42 CEST 2012

On Wed, Apr 25, 2012 at 8:02 PM, <Jonathan.Meran at schneider-electric.com>wrote:

> Hello,****
> Has anyone ran any performance tests comparing a ZeroMQ inproc socket for
> asynchronous communications between threads vs a traditional approach with
> a queue and OS event to wake up blocked subscribers to that queue? I am
> evaluating using ZeroMQ for machine<->machine communication but am also
> curious to use it for communications within the same process. I will be
> running some comparisons myself but thought I’d shoot out this question
> anyway to see how others have compared the two.

I don't have any concrete figures here, but in my experience it is very
similar. It really depends on what performance level do you need. You can
check ZeroMQ performance very quickly by setting up ZeroMQ and running
included performance tests.
I personally chose ZeroMQ over OS queue/event approach in multiple projects
due to the fact, that ZeroMQ gives you a great added value, not just the
basic queue functionality and performance.

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

More information about the zeromq-dev mailing list