Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for backpressure #2

Open
andrewjstone opened this issue Sep 28, 2016 · 0 comments
Open

Support for backpressure #2

andrewjstone opened this issue Sep 28, 2016 · 0 comments

Comments

@andrewjstone
Copy link
Owner

Detect overload via min latency on the executor channel. When the min latency increases past a bound, stop processing new requests or slow the acceptance rate. This will appear as slow responses to some clients, but does not require a change to the client api. This is similar to the tcp API model. The throttling is hidden from the caller, but latency may spike. When the system comes out of overload normal operation resumes.

To know when the system is overloaded, how long it was overloaded, and previous overloads, detailed stats should be kept and be made available via an admin api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant