As observed by myself and some users of my app, the connection to the server is a bit wonky, especially when using a mobile connection. I'd say that's quite contributed by the way events are forwarded to the client. Long polling has been proved to be a lot less efficient that Websockets.
Here are my ideas to solve this:
I'll rewrite the code to use Websockets if you're willing to review it and merge it
I'll create a sort of proxy that will connect to the server from an high bandwidth location and forward the information to the user through Websocket (don't know if that's possible yet)
As observed by myself and some users of my app, the connection to the server is a bit wonky, especially when using a mobile connection. I'd say that's quite contributed by the way events are forwarded to the client. Long polling has been proved to be a lot less efficient that Websockets.
Here are my ideas to solve this: