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

implement listener on each client #3

Open
caver456 opened this issue Dec 19, 2020 · 1 comment
Open

implement listener on each client #3

caver456 opened this issue Dec 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@caver456
Copy link
Contributor

whether by websockets or by http polling or long polling or some combination - this will be needed in order to implement true multi-node behavior. For example, for the sign-in app, clients sync whenever the user taps any button, because there is plenty of time to do so because user interaction is normally slow enough and it's not urgent to see the synced data. By contrast, here, the latest data needs to be shown - and alerts raised - with no user interaction required to trigger the sync.

@caver456 caver456 added the enhancement New feature or request label Dec 19, 2020
@caver456
Copy link
Contributor Author

caver456 commented Jan 2, 2021

long polling is not a good option since each client will hog the connection, meaning you could only have one client on pythonanywhere, per https://www.pythonanywhere.com/forums/topic/27219/

will pursue websockets

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

No branches or pull requests

1 participant