同个资源多条网关流控规则优先级问题 | Priority of multiple gateway flow rules for the same resource
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
我配置了3条网关限流规则,分别如下:
A

B

C

我以为那APP_ID为1的应用去调用2次之后会被限流,但实际是调用6次之后才被限流,想问下这块优先级是怎么样的?
按照上图ABC的配置,我期望的是1分钟内 APP_ID为1的应用在调用2次后被限流,其它应用调用3次后被限流,另外1分钟合计被掉6次后被限流
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by reproducing the three gateway rules and comparing the observed six-request limit with the expected per-application and aggregate limits. Done means the precedence between same-resource rules is established and the behavior or its documentation is updated accordingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100