[erlang-questions] preserving state through a gen_server restart

Ivan Uemlianin <>
Sat Oct 20 10:46:32 CEST 2012

Dear All

Thanks for these comments!

The bigger picture is that the application works, but I need to improve the way gen_server terminations and restarts are handled.

I'll spend some time with pencil and paper (and gproc, pg2, etc) and report back.

Best wishes


Froh, wie seine Sonnen fliegen, ...

On 20 Oct 2012, at 07:25, Garrett Smith <> wrote:

> If I were to implement this myself, I'd copy the gproc source code.
> And then just use that. It's 100% pure wholesome OTP.
> On Fri, Oct 19, 2012 at 4:02 PM, Ivan Uemlianin <> wrote:
>> Thanks. gproc does look very useful and I'll read the tutorials. In the meantime, how is this kind of thing done with Plain Old OTP?
>> On 19 Oct 2012, at 16:09, Joseph Wayne Norton <> wrote:
>>> gproc is handy way to manage processes by name.
>>> On 2012/10/20, at 0:03, Ivan Uemlianin <> wrote:
>>>> Or is there another way of doing this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121020/2e36a827/attachment.html>

More information about the erlang-questions mailing list