Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long polling is outdated #212

Open
devgianlu opened this issue Jun 20, 2019 · 1 comment
Open

Long polling is outdated #212

devgianlu opened this issue Jun 20, 2019 · 1 comment

Comments

@devgianlu
Copy link
Contributor

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)
@devgianlu
Copy link
Contributor Author

Just noticed this isn't possible due to a check on the user IP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant