It’s just a silly question, actually, but one I couldn’t reason my way out from documentation/code searching.
Everyone has heard of the road to 2 million websocket connections in Phoenix, which is awesome, I love that post.
But a question I have is: how is this possible, given that the maximum number of live processes in the EVM is 262144 by default?
My current understanding is that Channels are multiplexed onto Socket connections, so each websocket connection corresponds to a live Erlang process. So, in production, I would have to tune the number of live processes to a number much higher than the default.
Was this limit raised in production for this example? That would make sense, but it isn’t mentioned in the blog post.