Skip to content

Conversation

@bohde
Copy link
Owner

@bohde bohde commented Jan 13, 2019

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.

2 participants