[erlang-questions] Process migration/ Process state extraction/ injection

Tyron Zerafa <>
Tue Jul 31 20:11:37 CEST 2012


Hey,
    My primary intention is to implement strong mobility of processes.
Let's say that process A is running on Node 1, I want to be able to suspend
this process, transfer it to Node 2 and resume such process from where it
halted. I believe that in order to achieve such I need to somehow preserve
the stack trace, memory and other info.

On Tue, Jul 31, 2012 at 7:55 PM, Motiejus Jakštys <>wrote:

> On Tue, Jul 31, 2012 at 02:29:45PM +0200, Tyron Zerafa wrote:
> > Hello everyone,
> >    Does Erlang support process migration? Meaning, is there a way in
> which
> > I can stop a running process (A) on one node and resume it on another
> > completely different node?
> > If this is not supported, one way to go around it is to extract the
> process
> > state before suspending it and somehow inject it into the new process on
> > the remote node. Does Erlang provide such functionality?
> >
> > Any tips and suggestions on how one can extract/ inject the process state
> > from/ into processes?
>
> Hi,
>
> there is no easy general way to do it. But, if you said what exactly you
> are trying to achieve, there might be an other, unexpected, easy way to
> do what you want.
>
> If you gave us a higher-level description, we might help you better.
>
> Motiejus
>



-- 
Best Regards,
Tyron Zerafa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120731/a823e93e/attachment.html>


More information about the erlang-questions mailing list