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

Fix rate limiting issue #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

fmuratori
Copy link

The current rate implementation contains 2 hard coded fields (latency and burst). Under normal network loads they are not a problem.

When running high network traffic applications, the containers affected by the rate limit disconnects and becomes unreachable from network APIs. The cause is linked with the tc qdisc tbf configuration, in particular the burst field.

I decided to link these fields to env variables. The original API remains untouched.

@fmuratori
Copy link
Author

@lukaszlach Do you have any feedback?

@fmuratori
Copy link
Author

@lukaszlach, @blabdouze, @Silcet Any chance of getting merged? Or any feedback? Thanks!

Copy link
Contributor

@Silcet Silcet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. There's even documentation and as mentioned the API is not changed. Great addon.

(Sorry for the very late reply btw)

Edit: I think only @lukaszlach has write privileges so I can't merge. It's up to him

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.

None yet

2 participants