Is elixir recommended for game servers where you need to keep long running process running for a long time representing the user? I’ve read that the process in elixir should live short time
Disproven by GenServer
, Supervisor
, etc.
But when you have a long running process, try build it on top of facilities that are already there, those are optimised with care for beeing able to be long running.
2 Likes
Hi @NobbZ. Could I ask what you mean by facilities that are already there please? GenServer, etc., which you mentioned, or something else?
GenServer
and Supervisor
are the first ones that come to my mind, also there is GenStage
for continous data processing, maybe some more specialised ones in packages?
But, most if not all will probably be implemented on top of a GenServer
1 Like