[erlang-questions] Persistent processes
Tue Jul 10 18:00:57 CEST 2007
Kirill Zaborski wrote:
> So the persistent process calls some module:perstist_state(SomeState)?
> And then after restart some utility process runs
> Quite reasonable, thanks.
in our case each persistent entity is uniquely identified
by an address. So the process itself stores its state using
and is (re)started by
Newly started process (a gen_server) fetches and restores
its state during its init. It also writes Address -> self()
to second (ram_copies) mapping table.
More information about the erlang-questions