[zeromq-dev] PUB-SUB design question

Martin Sustrik sustrik at 250bpm.com
Thu Jan 19 10:44:20 CET 2012


Hi Marko,

> we are currently using 0mq 2.1.9 on Windows, have built our application
> framework with it and wondered about one thing with the PUB-SUB pattzern.
> Is it intended that the filtering is done on the side of the subscribers
> and not on the publisher's side? We noticed that all messages are sent
> to all subscribers and then just filtered there.
> So we were wondering whether this is intended or we did something wrong.

This is how 0MQ/2.1 version works.

Sending subscriptions to the publisher and filtering there is a new 
feature in 0MQ/3.1.

Martin



More information about the zeromq-dev mailing list