[zeromq-dev] PUB-SUB filtering question
sustrik at 250bpm.com
Fri Aug 13 22:20:15 CEST 2010
> With pub-sub sockets, does the message filtering take place on the
> subscriber's side or the publisher's side? In other words, does each
> subscriber get all messages across the network and filter them locally,
> or does the publisher only send to each subscriber the topics they are
> subscribed to? This difference seems significant if there is a high
> volume of traffic coming from the PUB.
As for now, it's done on subscribers side. See the ongoing thread about
migration of the filtering to the publisher.
> Also, am I correct in assuming that you are not limited to ascii
> character message topics? ie, can I subscribe to messages starting with
> the 4 non-printable characters 0xDE 0xAD 0xBE 0xEF?
Yes. It's binary.
More information about the zeromq-dev