Message Routing Paradigms

Ulf Wiger etxuwig@REDACTED
Sun Dec 15 20:31:27 CET 2002


On Sun, 15 Dec 2002, Ulf Wiger wrote:

>The next wild idea is to simply create an abstract for out
>of your patterns and compile it.

This should of course be "abstract form".

Given the size of your problem, it may not work. I'm
assuming that you won't have 10,000 unique patterns, but
rather quite fewer patterns than that and multiple
subscribers to some common patterns.

The megaco_text_parser module is the largest one I know of,
and it contains 22,000 lines of code -- essentially only two
large functions. The compiler can handle this, and so can
the VM, but recompiling it once per second is a totally
different matter, of course... (:
If it works at all, you'd probably do the recompile on
another node, and then call rpc:call(FilteringNode, code,
load_binary, [ModuleName, FileName, FilterModule]).

Like I said, a wild idea.

/Uffe

-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks




More information about the erlang-questions mailing list