alibaba / alibaba/Sentinel

Cluster flow control token server maxAllowedQps

Open
#1,337 2 comments 0 reactions 0 assignees View on GitHub
area/cluster-flow kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

sentinel集群限流的,嵌入模式。

jq1
jq2
jq3

以上是dashboard的配置,maxAllowedQps 也持久化到server。

测试结果的一些指标如下:
最大qps:200及以上,限流稳定在100左右
最大qps:100-200,限流小于100(30多,40多,。。。)
最大qps:100及以下,限流大于100(130,140.。。。。)

maxAllowedQps 在wiki中说到时为了保护嵌入模式的server,但是对集群的qps也有一定的影响。不是很明白,源码部分大致看了下,没发现有特殊影响。

请帮忙解答下

Contributor guide

Open the contributing guide

Research direction

Start with the dashboard configuration and the wiki description of maxAllowedQps, then trace the source handling this value in embedded and cluster flow-control modes. Compare the persisted server setting with the reported QPS results. Done means explaining the discrepancy from the source or identifying a reproducible defect; no specific files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.