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 :)
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to