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

JSON encoding for timeseries that enables streaming responses. #343

Open
dblodgett-usgs opened this issue Jan 27, 2022 · 5 comments
Open

Comments

@dblodgett-usgs
Copy link
Contributor

The current recommended encodings do not lend themselves to streaming -- we should seek out a streamable encoding for timeseries. Could flesh this out much more, just leaving as a note for the future.

@chris-little chris-little added enhancement New feature or request API EDR V1.2 Non-breaking change for Version 1.2 labels Jan 27, 2022
@tomkralidis
Copy link
Collaborator

@dblodgett-usgs
Copy link
Contributor Author

Yes. Indeed. I'd be curious to see how you would work with metadata surrounding a stream like that. Looks like it's really designed for logging.

@lvdbrink
Copy link

lvdbrink commented Mar 2, 2022

Just a tip, without knowing if it might be useful: CityJSON 1.1 does streaming, you might check out their solution of streaming with cityjsonfeature. They use JSON lines text streams. I don't know its relationship to rfc7464.

@chris-little
Copy link
Contributor

This is a good idea, but there are a lot of issues around streaming JSON, and whether it is applcable to any or all EDR queries. Needs to be linked to Pub/Sub requireement, and perhaps a different service endpoint may be appropriate. Tagged as V1.3 at the earliest.

@chris-little chris-little added API-EDR V1.3 and removed API EDR V1.2 Non-breaking change for Version 1.2 labels Jul 28, 2022
@ghobona
Copy link
Contributor

ghobona commented Jul 28, 2022

The adjective "streamable" might be problematic because there is a company called Streamable that has its own JSON encoding and API.

This was pointed out in the Vector Tiles Pilot a few years ago.

@dblodgett-usgs dblodgett-usgs changed the title Streamable JSON encoding for timeseries. JSON encoding for timeseries that enables streaming responses. Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants