<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Yes, gproc and ets could be used if you
are only using a single Erlang node.<br>
<br>
On 06/12/2014 07:06 AM, Bob Ippolito wrote:<br>
</div>
<blockquote
cite="mid:CACwMPm-exzhqvMVN=iujAYiOE254bDDSykWCt-jLoZWpOwGsEg@mail.gmail.com"
type="cite">Using gproc (or even just ets) is also a solution.
Whether you need the names to be redundant or not, using ets
instead of the process registry will allow you to replace them
atomically. <br>
<br>
On Wednesday, June 11, 2014, Michael Truog <<a
moz-do-not-send="true" href="mailto:mjtruog@gmail.com">mjtruog@gmail.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">If you need
redundant process names, you should probably look at pg2 (<a
moz-do-not-send="true"
href="http://www.erlang.org/doc/man/pg2.html" target="_blank">http://www.erlang.org/doc/man/pg2.html</a>)
or cpg (<a moz-do-not-send="true"
href="https://github.com/okeuday/cpg/" target="_blank">https://github.com/okeuday/cpg/</a>).<br>
<br>
On 06/11/2014 12:17 AM, Roger Lipscombe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I've got a gen_server with a particular name. I've got a bunch
of<br>
other processes calling and casting to it, by name.<br>
<br>
Can I spin up another gen_server, and have the name
transferred<br>
without anyone noticing? That is: can I redirect the calls and
casts<br>
to the new process without interruption?<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions"
target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</blockquote>
<br>
</body>
</html>