3 ms·
elixir has an even better offering baked into phoenix. unlike node which is limited to 1 process and necessitating a complex IPC cluster, erlang's vm can use al
by cultofmetatron 2y ago
elixir has an even better offering baked into phoenix. unlike node which is limited to 1 process and necessitating a complex IPC cluster, erlang's vm can use all cpus on the host as well as connect different machines. The end result is a much more robust websocket solution that can relay state to whichever machine resumes the connection.
- ofrzeta 2y agoAre you talking about channels or some other concept? https://hexdocs.pm/phoenix/channels.html https://hexdocs.pm/phoenix/channels.html
- cultofmetatron 2y ago> Are you talking about channels or some other concept? yes channels. I used them to power the websockets system for my startup. workes 100% as advertised out of the box with no special configuration. Handles thousands of messages per hour at the moment.