On Thu, Jan 19, 2012 at 1:36 AM, john skaller <[email protected]
> wrote:

>
> On 19/01/2012, at 3:57 AM, Chuck Remes wrote:
>
> >
> > This would provide some room to grow if the library were to ever get a
> more complex matching mechanism like regular expressions.
> >
> > #define ZMQ_SUBSCRIBE_REGEX_MATCH <int>
>
> No. The way you do this is with a callback. So it becomes more like:
>

Agreed, having a model where the user (optionally) is in full control of
the filtering (and storing subscriptions) would be ideal. I'm not quite
sure how to implementing that in zeromq though.

For example, it'd be nice to have the ability to drop a subscription
request if you're running low on resources. As it is now, you can force a
PUB node into swapping just by making a ton of subscription requests, and
the node can't really do anything about it.

/S
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to