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

Move to Websocket Protocol (or Similar) #7

Open
richbl opened this issue Dec 16, 2017 · 2 comments
Open

Move to Websocket Protocol (or Similar) #7

richbl opened this issue Dec 16, 2017 · 2 comments

Comments

@richbl
Copy link
Owner

richbl commented Dec 16, 2017

DOES:
Current dashboard (1.3.0) uses static HTML to display in browser. Must refresh the browser to view updated information.

SHOULD:
Dashboard should update dynamically (full-duplex) in real-time (or near real-time).

@richbl
Copy link
Owner Author

richbl commented Jan 2, 2018

Using websocket (ws) protocol is too heavy for this use case (don't need duplex communication). Instead, looking at server sent events (SSE) technique that sits on HTTP. Simplex communications and lighter weight.

Some GitHub examples to consider: https://github.com/kljensen/golang-html5-sse-example and https://github.com/dustywilson/sse.

@richbl richbl moved this to Ready in DMS3 Project Board May 22, 2023
@richbl richbl moved this from Ready to Backlog in DMS3 Project Board May 22, 2023
@richbl
Copy link
Owner Author

richbl commented May 23, 2023

Or could also just add meta tag in HTML (e.g., <meta http-equiv="refresh" content="5">)

@richbl richbl moved this from Backlog to Ready in DMS3 Project Board May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready
Development

No branches or pull requests

1 participant