-
Notifications
You must be signed in to change notification settings - Fork 25
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
Content streaming #5
Comments
I am interested in working on this. Here is my proposal on interfaces: For GET requests, we provide a method
The user can then retrieve streamed values from the returned stream. If the stream is finite, it will be closed automatically on exhaustion. Otherwise, the user can close the service to indicate that no more values are interested and the connection can be closed. For POST and PUT requests, in addition to the method above, we provide the following method:
The user can then stream values through |
@herberteuler I'm not all that up-to-speed on the streaming story for HTTP with respect to I suspect that |
Streaming support in finagle-http is done via chunked transfer, which resembles a stream of objects, with each chunk being a serialized object. The view of streaming by The project I am working on mimics Kubernetes' architecture. We are building an API server like RESTful service on top of ZooKeeper. There are two APIs using streaming: Hence for responses, a stream of The returned |
GET, POST, and PUT requests should support content streaming.
GET requests should allow content to be streamed from the resource.
POST and PUT requests should allow content to be streamed to the resource.
Finagle has various mechanisms to support this; featherbed should identify a good standard and add the support for that standard.
The text was updated successfully, but these errors were encountered: