Here's an initial go at this if anyone wants to have a look:

https://github.com/gimaker/libzmq/tree/exact-matching

<https://github.com/gimaker/libzmq/tree/exact-matching>It probably needs a
bit more polish and documentation, but it'd be nice to get some feedback if
it's on the right track.

/S

On Thu, Jan 19, 2012 at 11:17 PM, Martin Sustrik <[email protected]> wrote:

> Hi Staffan,
>
>
>  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.
>>
>
> This is an interesting problem.
>
> I guess the solution would have to take advantage of the fact that PUB/SUB
> is intrinsically unreliable, i.e.when low on resources the messages may be
> dropped even though they match the filter.
>
> Similarly, when low on resources, application of subscriptions may be
> delayed until the point when there are more resources available.
>
> There are different possibilities further on the way: Applying
> backpressure if the publisher is not able accept the subscription at the
> moment, periodic re-trying to send the subscription and similar.
>
> Martin
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to