Skip to content

Improved backpressure algorithm - #3

Merged
mcollina merged 1 commit into
masterfrom
backpressure-algorithm
Jul 28, 2018
Merged

mcollina merged 1 commit into
masterfrom
backpressure-algorithm

Conversation

@mcollina

Copy link
Copy Markdown
Member

Turns out that the algorithm that I wrote for client selection was
highly inefficient, because it constantly made clients to create
new connections. This new algorithm uses a LIFO queue to select
the latest client that drained, and keep using it until it is full.

Turns out that the algorithm that I wrote for client selection was
highly inefficient, because it constantly made clients to create
new connections. This new algorithm uses a LIFO queue to select
the latest client that drained, and keep using it until it is full.
@mcollina
mcollina merged commit 996b251 into master Jul 28, 2018
@mcollina
mcollina deleted the backpressure-algorithm branch July 28, 2018 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant