-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per client, queue-based backpressure (#1186)
This PR adds per-client delays to prevent queues from becoming arbitrarily long during read-heavy workflows. These delays are based either per-client queue lengths and bytes in flight (whichever is worst compared to the slowest client), which is analogous to the guest backpressure implementation. Compared to main, this keeps the queues relatively bounded, and is at least similar in performance (hard to tell, because there significant run-to-run variability). Fixes #1167, and is an alternative to #1181
- Loading branch information
Showing
5 changed files
with
268 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.