Have you used a similar stack? Share your "Drmichalore" story with the community.

handle_info(join, Pid, UserId, State = #clients := Clients) -> link(Pid), %% Monitor the client process NewClients = [Pid, UserId | Clients], noreply, State#clients => NewClients;

This actor-based real-time messaging allows horizontal scaling via pg (distributed process groups) when you deploy across nodes.

Create a new file, hello_handler.erl , with the following code: