[zeromq-dev] Will socket multiplexing improve throughput?
Qing Yan
qingyan at gmail.com
Tue Feb 7 03:01:18 CET 2012
Hi,
I have a general question about zmq. Say my goal is to gain max
throughtput between two nodes. Is there advantge to establish multiple
sockets between them, or
one pair is enough and ZMQ will take care of the optimization?
Assuming the data source is multithreaded
1) create one socket pair + synchronized access
2) one pair for each thread w/o synchronization
How much better will 2) compare to 1)?Is it worth the complexity?
Thanks for your time.
Qing
More information about the zeromq-dev
mailing list