Answer the question
In order to leave comments, you need to log in
Websocket connection per tab, is this acceptable in practice?
Tell me, is it worth keeping a websocket connection from each tab, or is it better to make one connection, for example, from the main tab, and exchange data with the rest, for example, through localstorage?
I’m trying to make one connection on the main tab and transfer data to the rest of the tabs through localstorage, but I doubt that secondary tabs will correctly process data through localstorage, for example, new data will come to the main tab every 5 or 10 milliseconds.
If you leave one connection per tab, will each connection heavily load the server?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question