-
Notifications
You must be signed in to change notification settings - Fork 159
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: Add hot_clients_ips_maxsize
, hot_clients_ips_threshold_ratio
#2087
base: 04-29-feat_truncate_suspicious_ips_when_it_exceed_the_max_size
Are you sure you want to change the base?
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account in order to use the merge queue. Sign up using this link. |
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
826f01b
to
d075b8e
Compare
9232390
to
f8caa97
Compare
suspicious_ips_maxsize
, suspicious_ips_threshold_ratio
hot_clients_ips_maxsize
, hot_clients_ips_threshold_ratio
f8caa97
to
3b56a60
Compare
646aefb
to
fe5dfef
Compare
2914aea
to
23133a5
Compare
fe5dfef
to
21403c5
Compare
23133a5
to
1ab8ee7
Compare
Overview
Define the settings
hot_clients_ips_maxsize
andhot_clients_ips_threshold_ratio
in shard_config to allow customization.By adding these key value settings, the existing
anonymous_ratelimit
key-value config path has also been changed.Refer to the 'Command Test' section.
Default value
hot_clients_ips_maxsize
hot_clients_ips_threshold_ratio
The
hot_clients_ips_threshold_ratio
of 0.8 means that an IP address is classified as a hot client when it reaches 80% or more of therlimit (rate_limit)
.Please take a look if the values above are sensible, and if not, let me know.
Command test
For example, to set the
anonymous_ratelimit
value to 10, execute the following command.Checklist: (if applicable)
📚 Documentation preview 📚: https://sorna--2087.org.readthedocs.build/en/2087/
📚 Documentation preview 📚: https://sorna-ko--2087.org.readthedocs.build/ko/2087/