[nanomsg] Re: Fanout pattern

  • From: "Holger Winkelmann [TP]" <hw@xxxxxxxxxxxxxx>
  • To: Martin Sustrik <sustrik@xxxxxxxxxx>
  • Date: Fri, 18 Jan 2013 16:37:43 +0100 (CET)

Hi Martin,

----- Original Message -----
> 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.

OK, good to know....
 
> 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.

I agree on that. 

> 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.

Sounds OK. But whats the difference of the Subscriber Filter algorithm
at subscriber compared to the router? I suspect the Router need to combine
the Filter of all Subscribers which have messages passing the router? And this
will either lead to huge tables or to a algorithm which may is not perfect,
right? My question would be: has this any consequences to the behavior or is
it "just" adding some costs for the transport and bandwidth?

Thanks,

Holger
> 
> Martin
>  

-- 
Holger Winkelmann
Managing Director

email: hw@xxxxxxxxxxxxxx
phone: +49-391-819099-223
mobil: +49-171-5594745 (DE)

----------------- enabling your networks ---------------------

Travelping GmbH               phone:           +49-391-8190990
Roentgenstr. 13               fax:           +49-391-819099299
D-39108 Magdeburg             email:       info@xxxxxxxxxxxxxx
GERMANY                       web:   http://www.travelping.com


Company Registration: Amtsgericht Stendal Reg No.:   HRB 10578
Geschaeftsfuehrer: Holger Winkelmann | VAT ID No.: DE236673780
--------------------------------------------------------------

Other related posts: