gen-server
Erlang: Best way for a singleton gen_server in erlang cluster?
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 othe[详细]
2023-01-30 16:56 分类:问答Using an ets table for a gen_server state
I am writing a gen_server which I want to hold an ets table as a state, then ets table was created somewhere else. How should I add this to the state of the gen_server?[详细]
2023-01-27 00:13 分类:问答Erlang Supervisor Strategy For Restarting Connections to Downed Hosts
I\'m using erlang as a bridge between services and I was wondering what advice people had for handling downed connections?[详细]
2023-01-02 11:11 分类:问答erlang OTP Supervisor crashing
I\'m working through the Erlang documentation, trying to understand the basics of setting up an OTP gen_server and supervisor. Whenever my gen_server crashes, my supervisor crashes as well. In fact, w[详细]
2022-12-29 20:28 分类:问答bad_application error starting erlang gen_server application
I have written a si开发者_运维技巧mple erlang app using gen_server. When starting it with application:start(myapp), I get the following tuple...[详细]
2022-12-26 02:55 分类:问答Erlang: gen_server or my own custom server?
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 write[详细]
2022-12-13 15:44 分类:问答