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

希望新增的upstream默认有限流 #27

Open
leo1515416043 opened this issue Feb 19, 2023 · 1 comment
Open

希望新增的upstream默认有限流 #27

leo1515416043 opened this issue Feb 19, 2023 · 1 comment

Comments

@leo1515416043
Copy link

现状

新增upstreamCluster,限流规则默认没限流,不符合实际需求。

@zoumo
Copy link
Collaborator

zoumo commented Feb 21, 2023

感谢反馈,现阶段可能不会添加默认的限流,主要的考虑是
如果在代码中默认提供几种限流的 schema,预设名称,比如 blackhole(意味着拒绝所有流量),这个限流规则对用户是不可见的,那么我们需要考虑如果用户自己配置了 blackhole 的 flowcontrolschema 的话如何处理,是在配置的报错还是说以用户配置的为主,这个还需要讨论

如果最终我们决定内置默认的限流,那么计划是引入以下两个名称
exampt: 表示放行
blackhole:表示拒绝所有请求

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

No branches or pull requests

2 participants