-
Notifications
You must be signed in to change notification settings - Fork 210
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
Probabilistic queue priorization: do not starve bulk requests on very fast connections #995
Probabilistic queue priorization: do not starve bulk requests on very fast connections #995
Conversation
This is intended to avoid starving the bulk queue when realtime requests are received faster than it takes to resolve one.
…t spamming the log.
fe30c65
to
0e4d506
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the choice of 90% is backed by data or measurements, please add that justification the Javadoc.
Otherwise fine, just a few code style issues.
@bertm there isn’t an empiric base for the 10% — it’s just some small number to break out of possible starving. It may be sufficient to go to 1%. |
merged — thank you for the reviews! |
No description provided.