Answer the question
In order to leave comments, you need to log in
How not to lose events when connecting to websocket?
Generally a subject. The page is first loaded using php, and then it connects to the websocket server to receive updates. Imagine that the data is critical. And you need to get them in sequence without the possibility of skipping. And between the page load and the websocket connection, there is a time during which a new event is possible that will be missed. There are some ideas for event logging, but I find them resource-intensive. What comes to your mind?
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