I like the concept to use a single web socket with multiplexing&#x2F;demultiplexing mode.
It&#x27;s very simple concept but rails yet give to its developers the &#x27;right way&#x27;, to set under control the number of connection of web sockets.
Now each connection will use the same web sockets and every connections on the web page pass by it.
This means that each service send message like:  
 (service_A: requests)-&gt;(multiplexing) -&gt; Web Socket -&gt; (demultiplexing) -&gt; Server