Is it possible to skip events on the network?

Here is what we do:

We use Socket.io to broadcast our events. We ran into problems with proxies and / or firewalls, so we only used socket.io with XHR polling, not with web sites. It worked well, but many of our users use our app with smartphones or poor internet connections. Sometimes they never received event broadcasts, even though they were still connected to our Node server. Thus, we have added an additional system of long-term polling, which looks at what you received from socket.io every X seconds and gives you the events that you missed.

We are now using SSL on our Node server, and we can enable websites again without blocking the firewalls.

Question: Is our optional long poll system useful for using web maps? Is it possible to skip websites if you have a poor internet connection? Or should we just use it in case of disconnection / reconnection?

TL DR : Is it possible to skip websites if you have a poor internet connection without disconnecting?

thanks

+4
source share

All Articles