Pick a default for HTTP/2 server max concurrent streams #3358
Labels
A-http2
Area: HTTP/2 specific.
A-server
Area: server.
B-breaking-change
Blocked: this is an "API breaking change".
C-feature
Category: feature. This is adding a new feature.
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
Milestone
It would be wise to pick a somewhat lenient default max concurrent streams, so that anyone who never thinks about it is protected. People who care are encouraged to override the default.
Many servers default to 100, since the RFC suggests it shouldn't be less than that. Some implementations stick to that, or even lower without advertising it, since they need to dedicate a thread per request, which hyper does not need to do. Additionally, the HTTP Archive stats show that p90 is around 170 requests per page.
In order to not necessarily inconvenience most hyper servers, therefore, I'm thinking of putting the default at 200.
The text was updated successfully, but these errors were encountered: