[zeromq-dev] Thread safe Pub/Sub and Multicast
Osiris Pedroso
opedroso at gmail.com
Sat Mar 12 12:38:23 CET 2016
You say this:
- [Radio/Dish are] Thread safe, you can send and receive messages from
multiple threads, so for publisher you now don't need internal device to
publish from multiple threads and with subscriber you can use it as load
balancer.
So by extension, it means that a Radio/Dish socket can be shared by
multiple threads. Correct?
Is it a problem of regular PUB/SUB that it can not publish messages from
multiple threads?
I don't remember reading about this in The Guide.
Actually please correct me if I am wrong, but I believed that all ZeroMQ
queues could be used by multiple threads without regards to thread safety,
meaning each thread specific ZeroMQ socket would take care of serializing
the messages being posted to the queue without any message loss due to
threading issues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160312/4e6e60a1/attachment.htm>
More information about the zeromq-dev
mailing list