forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Avoid blocking tokio::select branches on a potent. full channel (…
…MystenLabs/narwhal#724) * feat: don't block on sending on a full channel in primary We block on sending to a channel that may be full. This rather changes the behavior to poll the channel before blocking indefinitely on it. Percolates backpressure one level up from the output channels of: - header_waiter, - certificate_waiter, * feat: don't block on sending on a full channel in executor * feat: add a bounded queue for FuturesUnordered * feat: Bound pending elements in certificate waiter & header waiter * feat: Bound pending elements in subscriber * fix: edit tests to check `try_next()` relationship w/ capacity * feat: add & update metrics for waiting lists in {certificate, header}waiter * feat: add metric for waiting elements to subscriber
- Loading branch information
1 parent
bbcac55
commit 783fe95
Showing
11 changed files
with
442 additions
and
70 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
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
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
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
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
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.