Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Consider breaking up large data sends to prevent priority inversion #120

Open
kgoodier opened this issue Jun 9, 2015 · 0 comments
Open

Comments

@kgoodier
Copy link
Contributor

kgoodier commented Jun 9, 2015

In SPDYSession, in _sendData, the entire input stream is sent in a tight loop, assuming:

  1. The send window never closes
  2. The input stream supplies data

It's possible that a large upload on a slow network will block higher-priority requests that come in after the data upload has started. By breaking up large uploads into multiple data frames and processing any higher-priority operations in between, this priority inversion may be avoided.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant