Live data from Hacker News

Socketcluster: Highly scalable pub/sub and RPC SDK

socketcluster.io

1–8 of 8 posts

Re: Socketcluster: Highly scalable pub/sub and RPC SDK

#2
architecture docs are scant, but it appears this horizontally scales channels by adding "broker" instances and horizontally scales consumers by adding "worker" instances? i.e. a broker only needs to ever broadcast a message to the maximum number of worker instances in the cluster.

Re: Socketcluster: Highly scalable pub/sub and RPC SDK

#3
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.

Re: Socketcluster: Highly scalable pub/sub and RPC SDK

#6

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.

Are you talking about channels or some other concept? https://hexdocs.pm/phoenix/channels.html

Re: Socketcluster: Highly scalable pub/sub and RPC SDK

#8
post #6

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.

Are you talking about channels or some other concept? https://hexdocs.pm/phoenix/channels.html

> 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.