[zeromq-dev] pubsub and trie handling on recv

Benoit Chesneau bchesneau at gmail.com
Wed Jul 8 19:35:32 CEST 2015


If I am not wrong all messages published to a pub socket are sent to the
sub one letting it checking if the message match the expected topic or not
and then drop it if needed.

My question is why doing it on the subscribed socket instead on doing
inside the pub socket before sending it? I can see why it can be done to
reduce the complexity and increase the number of sent message but is it
really more performant than checking first if the message can be sent to
this particular subscription?

 More generally I am curious to understand how this choice was done.

- benoît
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150708/2cfb2ad7/attachment.htm>

More information about the zeromq-dev mailing list