[zeromq-dev] pubsub and trie handling on recv

Benoit Chesneau bchesneau at gmail.com
Wed Jul 8 20:45:23 CEST 2015


ok i missed that sorry :/ will try to find the related discussion. Thanks!
On Wed 8 Jul 2015 at 20:34 Pieter Hintjens <ph at imatix.com> wrote:

> 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
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150708/0a785e24/attachment.htm>


More information about the zeromq-dev mailing list