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

Supporting http2 stream priority #1448

Closed
yingfeng opened this issue Aug 18, 2017 · 2 comments
Closed

Supporting http2 stream priority #1448

yingfeng opened this issue Aug 18, 2017 · 2 comments
Labels
P3 Type: Feature New features or improvements in behavior

Comments

@yingfeng
Copy link

Stream priority is very useful for some QoS aware responses. Considering such a situation: several batch requests need bulk data transfer, together with some high concurrency latency sensitive requests with small packet sizes are multiplexed, without a stream priority, the latency sensitive requests will be blocked by those batch ones. Currently, I could only see a simple function definiton of writePriority within the project which just set the priority flag, corresponding multiplexing processor has not been found. Could such useful feature be delivered by grpc-go ?

@dfawley
Copy link
Member

dfawley commented Aug 23, 2017

This is definitely possible, but it would take a moderate amount of redesign to implement. I don't imagine this is something we would be able to get to in the next ~6 months, but it is something we'd like to do eventually. In the meantime, one workaround is to create multiple connections and send different workloads on each by priority, and leverage external QoS to prioritize them.

Note that we don't transmit RPCs serially in the order in which they are initiated. Small requests that start after large ones should typically be able to complete before the large requests.

@dfawley
Copy link
Member

dfawley commented May 3, 2021

This is outside the scope of an issue in our repo. This would require a gRFC and/or discussion in an issue on the main grpc repo.

@dfawley dfawley closed this as completed May 3, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 Type: Feature New features or improvements in behavior
Projects
None yet
Development

No branches or pull requests

2 participants