[zeromq-dev] Fwd: Exact matching on subscription topics
Staffan Gimåker
staffan at spotify.com
Wed Jan 18 17:41:20 CET 2012
Do you have any opinions on how the public API for this should look? I've
started implementing this stuff so it'd be nice to know sooner rather than
later :D
I'm thinking along the lines of just adding more socketops for this, e.g.:
zmq_setsockopt(sock, ZMQ_SUBSCRIBE_EXACT, topic, topic_len);
Any other suggestions?
/S
On Tue, Jan 10, 2012 at 9:35 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> On 10/01/12 15:35, Staffan Gimåker wrote:
>
> Ok, makes sense. So the intermediary device would still have to store
>> all the subscriptions it received and resend them if the upstream pipe
>> is disconnected, right?
>>
>
> Yes. Right. The point is that upstream node may be aware of the matching
> algorithm and thus can reduce the traffic by doing the filtering itself.
>
> Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120118/c2e7d8e9/attachment.htm>
More information about the zeromq-dev
mailing list