{"action":"created","issue":{"url":"https://api.github.com/repos/http2/http2-spec/issues/747","labels_url":"https://api.github.com/repos/http2/http2-spec/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/http2/http2-spec/issues/747/comments","events_url":"https://api.github.com/repos/http2/http2-spec/issues/747/events","html_url":"https://github.com/http2/http2-spec/issues/747","id":87875875,"number":747,"title":"\"allocate resources proportionally based on their weight\" is a source of confusion","user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T23:05:12Z","updated_at":"2015-06-14T02:05:35Z","closed_at":null,"body":"https://httpwg.github.io/specs/rfc7540.html#rfc.section.5.3.2\r\n\r\n> All dependent streams are allocated an integer weight between 1 and 256 (inclusive).\r\n> \r\n> Streams with the same parent SHOULD be allocated resources proportionally based on their weight. Thus, if stream B depends on stream A with weight 4, stream C depends on stream A with weight 12, and no progress can be made on stream A, stream B ideally receives one-third of the resources allocated to stream C.\r\n\r\nThis section, more so than any others, has been a consistent source of developer confusion. E.g..\r\n\r\n> Can you further explain how \"resource A has a weight of 12, and B a weight of 4\" leads to \"A should receive two-thirds of available resources\" according to \"proportional weights.\" In my mind you'd add 12+4=16 and take the proporition out of 16, like B would receive 4/16 or one quarter of available resources. I can't really see any way you get \"thirds\" in this scenario, unless you take 4/12, but that doesn't explain A's \"thirds\" (from 12/12).\r\n\r\nCan we more clearly define this behavior? Ideally, in the spec, and if not possible at least as an FAQ entry somewhere else?"},"comment":{"url":"https://api.github.com/repos/http2/http2-spec/issues/comments/111771211","html_url":"https://github.com/http2/http2-spec/issues/747#issuecomment-111771211","issue_url":"https://api.github.com/repos/http2/http2-spec/issues/747","id":111771211,"user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T02:05:35Z","updated_at":"2015-06-14T02:05:35Z","body":"/cc @mnot "}}