gen-server Questions
1
Solved
I try to cast message to a gen_server:
gen_server:cast({global, ID}, {watchers}).
The handler is:
handle_cast({watchers}, State) ->
case State#table_state.watchers of
[] ->
{reply, no...
Trommel asked 29/4, 2011 at 12:32
2
Setting:
I want to start a unique global registered gen_server process in an erlang cluster. If the process is stopped or the node running it goes down, the process is to be started on one of the o...
Institutive asked 16/12, 2010 at 9:56
1
Solved
I'm using erlang as a bridge between services and I was wondering what advice people had for handling downed connections?
I'm taking input from local files and piping them out to AMQP and it's con...
Ostend asked 4/6, 2010 at 4:25
1
Solved
I'm building an erlang server.
Users sends http requests to the server to update their status.
The http request process on the server saves the user status message in memory.
Every minute the serve...
Kronos asked 28/1, 2010 at 12:14
5
Solved
I need to write a server that will receive instructions from other modules and take actions depending on the instructions received. Efficiency is my main concern. So do I use gen_server or do I wri...
Coligny asked 3/12, 2009 at 12:56
© 2022 - 2024 — McMap. All rights reserved.