-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[WIP] Throttling filter #410
Conversation
@edsiper should I create something similar to |
hi @onorua If this plugin is for a production use-case I am happy to have it there. regarding your questions:
|
@onorua are you still interested into merge improve this feature ? |
Yes, we have this in production for some time and really happy about it. Give me couple of days for tests coverage. I'll split this PR into 2 PRs one for throttling and another one for elastic search index regexp. |
closing in favor of #511 |
There are cases when you need to handle only the load you agreed on, and drop the rest (some sort of internal service with SLA). This plugin does exactly this. We have some rate per second, and we drop messages above it. It implements leaky bucket, based on sliding window algorithm.
There are couple of things we could improve on though (looking forward to your suggestions):
What do you think about the idea in general?