[zeromq-dev] message deliver time, PAIR, REQ-REP
Maciej Wewior
m.wewior at is-wireless.com
Fri Jun 10 11:13:01 CEST 2016
Hi all
I'm thinking about using zmq as the basic communication mechanism for an
LTE protocol stack implementation.
First I wanted to measure average time messages of various size need to
be transmitted between 2 nodes (threads or processes).
I tested 2 simple cases:
- 2 threads, 1 thread creates REQ inproc zmq socket the other creates
REP one
- 2 threads, both threads create 2 PAIR zmq sockets, one for sending the
other for receiving
I ran request-response sequences in the loop and measured the time
needed to deliver the messages and the results were more or less the
same for both cases.
My question is: is it what I shall expect in general? Is there any
difference (when it comes to performance) between 2 threads
communicating through PAIR or REQ-REP sockets?
Thanks
Maciej
p.s.
I'm just starting with ZMQ so I might do something wrong or I might have
some weird view on the whole zmq stuff :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160610/1a8fd64e/attachment.htm>
More information about the zeromq-dev
mailing list