-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Maybe it can be compatible with non-websocket mode? Some CDNs do not allow websocket connections. #117
Comments
Another option is to use server-sent events. |
good idea,use server-sent events changes much less than long polling |
Statsviz uses a single timer. How would that change with any other solution? Can't you circumvent CDN restrictions by using a proxy?
Server side events are a solution but they're one way only iirc, which would work with the current feature set but would prevent potential features we have in mind. |
When I open multiple pages, the custom indicator is called multiple times per second, which causes errors in some of my statistics. Using other solutions has nothing to do with this. Maybe I should open a separate issue.
I don't have that access.
Can you give an example? If the client needs to send data, it can be solved through a new request. |
That's what I think, too. My main reason for wanting that improvement is to avoid dependency on |
I'm thinking if the browser needs to send data to statsviz. For now it doesn't need to but SSE are a one way street (app->browser) |
What custom indicator? |
userPlots |
Uhm ok that's not normal. Could you please open an issue for this? And post a simple reproducer if you can? |
Open 2 web pages and you can see the phenomenon . |
If you use long polling, you will have the following advantages:
better compatibility
The server does not have multiple sets of time.Tick
Have smaller dependencies
The text was updated successfully, but these errors were encountered: