I’m building a react/elixir web app (not server side rendered if it makes a difference) where currently all communication is done over websockets. Basically, a user connects to the socket, then over various different pages, joins and leaves different channels.
So far I haven’t seen any issues (currently in production - although it’s only me testing it) but not sure if I am missing something here.
Is there something I am possibly missing as to why this would be a bad idea?
Phoenix is perfectly capable of handling huge numbers of simultaneous websocket connections. You might find this blog post (which is already back from 2015!) insightful: