You need to always remember that when doing any type of server in Elixir, the server itself shouldn’t have any logic, instead should dispatch it to modules, so that you can rip-off this benefits that you now are aware off after following @sasajuric suggestion.
If you have not read it yet I would recommend you to read his book Elixir in Action:
The book is an eye opener for properly use server processes and message passing in Elixir ![]()






















