C# support http2 stream priority

29 views
Skip to first unread message

Sam

unread,
Jul 24, 2019, 11:05:48 PM7/24/19
to grpc.io
Hi all,

It seems that there's already a small discussion about streaming priority, last august: https://github.com/grpc/grpc-go/issues/1448

Are there any updates for this ? especially concerning the C# wrapper. 

If not, I'm curious as to what actually happens when I use the WriteAsync() on the stream call. It hands off the work to gRPC, and I'm wondering what rules/logic gRPC follows to multiplex the messages (even a rough, inaccurate description would be nice, just to get the idea). I have multiple streams, written to concurrently + normal unary calls. Especially I would like to know if the order in which WriteAsync() is called has any influence on send order.

Is there currently any way I can prioritize certain streams/message types ? If not, any plans to support ?

Thanks,
Sam

Jan Tattermusch

unread,
Aug 8, 2019, 9:02:17 PM8/8/19
to grpc.io
The C# behavior here would be exactly the same as for all other implementations based on C-core.

I don't think currently there's any way of expressing that some HTTP/2 streams should be prioritized over others (and there are no plans that I know of to implement that)

Sam

unread,
Aug 8, 2019, 10:03:13 PM8/8/19
to grpc.io
Jan, 

Got it, thanks for the answer.

Sam
Reply all
Reply to author
Forward
0 new messages