[zeromq-dev] Marshalling / Routing

A. Mark gougolith at gmail.com
Mon Apr 15 09:03:48 CEST 2013


Hi Lee,

The PUB socket is neutral towards SUBscribers that's why it's a publisher.
Depending on what you are trying to achieve with your mesh you may need to
use  different socket pair if you need such "filtering". Did you try
XPUB/XSUB?


On Sun, Apr 14, 2013 at 10:47 PM, Lee Sylvester <lee.sylvester at gmail.com>wrote:

> Hi guys,
>
> So, I'm building a mesh and I'm using pub / sub to achieve this.  I have
> one port for pub and one port for sub on each node.  With sub, I've set up
> routing so the node will be interested in only a certain kind of messages.
>  My problem is with traffic.  Now, as I understand it, routing in sub means
> that the filtering is only occurring on the subscriber; all messages are
> received, but those messages that don't fit the filter are discarded.  Is
> there any way to filter at the publisher end, so as to save on network
> traffic?
>
> Thanks,
> Lee
> _______________________________________________
> 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/20130415/ac55568b/attachment.htm>


More information about the zeromq-dev mailing list