mvfst icon indicating copy to clipboard operation
mvfst copied to clipboard

Datagrams Priorities

Open HaseebLUMS opened this issue 2 years ago • 2 comments

I don't seem to find any API for assigning priorities to Datagrams (relative to other datagrams and streams). Is this feature (mentioned in RFC 9221) not implemented?

HaseebLUMS avatar Sep 23 '23 22:09 HaseebLUMS

There isn't currently an API for setting datagram priorities. One of the reasons is that the RFC is somewhat vague about what the priority scheme should be for datagrams, and the amount of state required internally to prioritize on a per-datagram basis.

Did you have a prioritization scheme in mind? Do you want to prioritize all datagrams relative to streams, or datagrams with respect to each other, or both?

afrind avatar Sep 25 '23 16:09 afrind

Right now my use-case requires prioritizing a stream over all the datagrams. However, I think in the future I might also need to prioritize groups of datagrams relative to each other.

HaseebLUMS avatar Sep 25 '23 22:09 HaseebLUMS