Hello there,
I’m just curious, is there any limit of connections to one topic on phoenix channel? For example room:lobby
, or it can be scaled up to for example 2 million connections :)? Link
Thnx,
Hello there,
I’m just curious, is there any limit of connections to one topic on phoenix channel? For example room:lobby
, or it can be scaled up to for example 2 million connections :)? Link
Thnx,
2 million connections on 2 million different topics will take up the same amount of memory as 2 million connections on one topic.
Now, broadcasting to a topic with 2 million listeners will take a lot more CPU time than broadcasting to a topic that has only 1 listener. The memory required essentially a count of the total number of channels.