[erlang-questions] Thoughts about server abstraction and process management

zambal <>
Thu Mar 26 10:38:22 CET 2009


On 26 mrt, 07:38, Robert Virding <> wrote:
> One difficult problem to solve if you do something like this is handling
> references to pids from other nodes. As they can more or less be freely
> passed around amongst external nodes there is no possibility to keep track
> of them, or to keep track of which processes may, or may not, be referenced.

Maybe every node could have a central process running that keeps track
of all Pid references and this process can query other nodes about
their Pid references too. But that would probably be very bad for
performance and the fact that you have to take the possibility of
network failure into account makes things complex, so I doubt this
would be a good solution.

---
vincent



More information about the erlang-questions mailing list