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

Make format streamable #36

Open
jonnor opened this issue Mar 4, 2017 · 1 comment
Open

Make format streamable #36

jonnor opened this issue Mar 4, 2017 · 1 comment

Comments

@jonnor
Copy link
Collaborator

jonnor commented Mar 4, 2017

This way debugging tools can be live updated with changes to the system.

One possibility is to use text/event-stream format. It is a simple \n\n delimited format, with good support for JSON payloads.
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format
It has the benefit of also being used in server-side-events which is supported by webbrowsers.

The header information like the graph should also be sent as an event. It should be supported to have this change in the middle of a stream also.
Ideally tools can also deal with the header not being present, and recontructing information from data events (to the extent possible)

@bergie
Copy link
Member

bergie commented Mar 4, 2017

We should consider supporting basically any FBP protocol event in addition to packets. Network start/stop, process-error etc.

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

2 participants