[zeromq-dev] Publisher side filter question
Lucas Hope
lucas.r.hope at gmail.com
Thu Aug 22 03:21:54 CEST 2013
Hi Roy,
Doesn't ZMQ 3.x do just what you want, as per the documentation you posted?
What is the problem?
Luke
On Thu, Aug 22, 2013 at 10:47 AM, Roy Liu <liuchuanbo at gmail.com> wrote:
> Has anyone work with this scenario?
> Any information about the filter on the publisher side?
>
>
> On Wed, Aug 21, 2013 at 10:42 PM, <liuchuanbo at gmail.com> wrote:
>
>> Hi, everyone
>>
>> In ZMQ guide http://zguide.zeromq.org/page:all, I read:
>>
>>
>> - From ØMQ v3.x, filtering happens at the publisher side when using a
>> connected protocol (tcp: *or ipc:*). Using the epgm:// protocol,
>> filtering happens at the subscriber side. In ØMQ v2.x, all filtering
>> happened at the subscriber side.
>>
>>
>> So, I need to implement this scenario:
>>
>> 1. In publisher side: PUB
>> 2. In subscriber side: SUB1, SUB2
>> 3. PUB can send characters from A to Z.
>> 4. SUB1 ONLY receive C character
>> SUB2 ONLY receive D character.
>>
>> How to setup PUB side filter which can send C to SUB1 and D to SUB2?
>> This is like that a mailbox only receive his newspapers or magazines,
>> not receive all mails and "filter" by itself. I wander PUB side filter is
>> that clever postman :)
>>
>> If filtering happens at sub side, PUB will send all the message(A-Z
>> characters) to all the SUBs, which occupy too much network resource and be
>> not efficient.
>>
>>
>> Anyone can help?
>>
>> Thanks
>>
>> Roy.
>>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
---------------------------------------------------
Dr Lucas Hope - lucas.r.hope at skype
Machine Learning and Software Engineering Consultant
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130822/b96430e5/attachment.htm>
More information about the zeromq-dev
mailing list