Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Dynamically adapt concurrency#1

Open
bohde wants to merge 5 commits into
masterbohde/codel:masterfrom
scale-concurrencybohde/codel:scale-concurrencyCopy head branch name to clipboard
Open

Dynamically adapt concurrency#1
bohde wants to merge 5 commits into
masterbohde/codel:masterfrom
scale-concurrencybohde/codel:scale-concurrencyCopy head branch name to clipboard

Conversation

@bohde

@bohde bohde commented Jan 13, 2019

Copy link
Copy Markdown
Owner

This uses a feedback control to adjust the concurrency dynamically. This is for dynamic environments where capacity may change in response to load.

The algorithm is AIMD, with a hard coded a of 1, and b of 0.7, over 1 second windows.

A new method is added to signal backpressure, Backoff, that consumers can use to signal backpressure. At this point, the total concurrency decreases.

@bohde
bohde force-pushed the scale-concurrency branch from 585977c to e231620 Compare January 13, 2019 03:55
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.