[erlang-questions] Erlang deamon question
Tue Mar 9 21:01:08 CET 2010
how many shell clients do you expect to be making? we use dynamic client
names but itll be a few years till we take up the atom pool, if that became
a problem I would probably just make the list of names that could be
generated a fixed size.
On 9 March 2010 19:46, Nicholas Frechette <> wrote:
> Supposed I had a single erlang application running as a deamon/service in a
> What would be the best way to communicate with it with a command line
> application, keeping in mind I could have any number of them running at the
> same time.
> I am under the impression that I cannot reuse the built in erlang node
> communication protocol (erl -name foobar) and rpc:call mainly because I
> would have to generate random names for my client applications every time
> is ran, and that could pollute the atom pool of the service. Note also that
> I can trust the clients and am not concerned about security here.
> I presume I am stuck implementing a socket based rpc module? Is there
> something already done for this in erlang? I really would love to just
> erlang terms in my arguments/return values. I am unlikely to have clients
> other languages but cross language usage could be a plus.
More information about the erlang-questions