I've never used before websockets neither web workers and everything around that. Obviously, I'm lost and I don't know how to make it properly.
I've learned how to make a websocket and leave it working in a server port successfully. As well, load a web worker (but this one can't refresh the website straight).
When a user is connected, everything is working fine. Websocket is sending messages to the user and the user is refreshing their website.
The problem is when I want to use it with many other users (different tabs or browsers to simulate different users). Only works with next user is connected with websocket, is not working anymore with the other users.
I share a diagram just to make it simple to understand what I want to do.
Another point is. Which language do I have to use to get this, both for the server and for the users? Python, NodeJs, Php (those are the only I know how to use).