filtering happens at the publisher side means when SUB1.subscribe("C") and
SUB2.subscribe("D"), the publisher won't send "D" to SUB1, nor "C" to SUB2



2013/8/22 Roy Liu <[email protected]>

> Hi, Luke
>
> In ZMQ 3.x, if publisher filter the message first and sent the filtered
> message to the subscriber or not?
> if so, publisher will save the filter options at it's side? and where to
> save these options?
>
> I want to know details about implement of "filter at publisher".
>
> Roy.
>
>
> On Thu, Aug 22, 2013 at 9:21 AM, Lucas Hope <[email protected]>wrote:
>
>> 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 <[email protected]> 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, <[email protected]> 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
>>> [email protected]
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>>
>>
>>
>> --
>> ---------------------------------------------------
>> Dr Lucas Hope - lucas.r.hope@skype
>> Machine Learning and Software Engineering Consultant
>> Melbourne, Australia
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to