mobile processes

Jeffrey Straszhiem <>
Thu Sep 28 04:03:06 CEST 2000


On Wed, Sep 27, 2000 at 10:11:09PM +0200, Vlad Dumitrescu wrote:

> the actual move of a process/application to another node is not a
> big problem. Not with Erlang, anyway... But how do already running
> linked clients switch to the new node, unless they expect and can
> handle this move? In a perfect world, the move would be transparent
> to the clients... Are there any solutions that I overlooked?

Look at the module `global' (in kernel), particularly the functions
`register_name', `re_register_name', and `send'.  If you adopt a
policy of using these for all acceses to the server, then things
should work fine when you move it.

-- 
-- Jeffrey Straszheim              |  A sufficiently advanced
-- Systems Engineer, Programmer    |  regular expression is
-- http://www.shadow.net/~stimuli  |  indistinguishable from
-- stimuli AT shadow DOT net       |  magic



More information about the erlang-questions mailing list