[nanomsg] Re: Fanout pattern

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Thu, 17 Jan 2013 09:04:50 +0100

On 16/01/13 23:22, Holger Winkelmann wrote:

This just reminds me about subscription forwarding in nanomsg, is this already 
available?

Not yet. Still to be done.

In any case, I would like to base it on the system implemented in crossroads (different subscription types: prefixes, regexps, even custom filtering) rather that the fixed-filtering-algorithm (prefix matching) as in ZeroMQ.

One thing that may be of interest to you is that in this system the filtering in intermediate devices (e.g. in the router) may not be perfect (some messages that don't match may get through the filter just to be filtered out at the terminal subscriber). This, in turn, allows for effective and memory-bounded filtering algorithms (using hash tables and such) suitable to be implemented in hardware.

Martin

Other related posts: