[zeromq-dev] pubsub and trie handling on recv
Pieter Hintjens
ph at imatix.com
Wed Jul 8 20:33:41 CEST 2015
Since libzmq 3.2 the filtering is done at the publisher side.
On Wed, Jul 8, 2015 at 7:35 PM, Benoit Chesneau <bchesneau at gmail.com> wrote:
> Hi,
>
> 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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list