[zeromq-dev] Fwd: Exact matching on subscription topics

Martin Sustrik sustrik at 250bpm.com
Wed Jan 25 09:04:34 CET 2012


On 01/25/2012 04:49 PM, Staffan Gimåker wrote:

> I couldn't really figure out a way to unify the pub and sub-side of the
> filtering, no. Maybe if more templates/meta programming-tricks are ok I
> can come up with something. The pub and sub side do things just
> differently enough that it's tricky to unify it, but if anyone has any
> ideas I'm all ears.

Heh. I had the same problem. I've tried to unify the two when I've 
written the prefix filter, but haven't figured out how to. I though 
maybe you would have some idea ;)

> Regarding the filter mechanisms, I think it's a good idea to keep them
> few and simple. A nice side-effect to a more modular approach to
> filtering is that it's easier to maintain your own branch with your own
> funky filtering mechanisms. Something we might end up doing to optimize
> things for our specific problem, for example.

+1

Martin




More information about the zeromq-dev mailing list