-
Notifications
You must be signed in to change notification settings - Fork 248
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
feat(waku)_: add lightpush rate-limiter #5504
Conversation
Jenkins BuildsClick to see older builds (33)
|
355ec24
to
71d41c0
Compare
Wondering if we should follow rate-limits similar to how they are sent in nwaku or use a smaller size than fleet nodes. |
IIUC this is mainly for the Status Desktop instances - hence the rate limits should be probably smaller than a fleet node - although 1 msg/s might be a bit too low:) |
Actually I can't see rate limits being set anywhere (yet) for nwaku fleets. In other words, I'm not sure what the intended rate limits for the fleets are. 1 msg/second for Status Desktop nominally sounds reasonable, though this may require real world feedback to confirm. :) |
Yes, it is not applied yet. There are number of questions how to apply DOS protection properly.
|
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.
LGTM. We can always change the rate limit values if needed
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.
LGTM
71d41c0
to
8c2e930
Compare
5ea72f3
to
62b8105
Compare
62b8105
to
20c88f8
Compare
This PR enables rate-limiting on Lightpush protocol with 1 msg/s rate.
Important changes:
Related to #4857