alibaba / alibaba/Sentinel

sentinelclient通过docker镜像启动,后,线程数设置为1,只能限制单机

Open
#3,302 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description


## Issue Description
*bug report*

### Describe what happened (or what feature you want)

sentinelclient通过docker镜像启动,后,线程数设置为1,只能限制单机,其他机器之间还能发通请求
### Describe what you expected to happen

![image](https://github.com/alibaba/Sentinel/assets/20302906/6341c720-c4f2-4730-b7df-b89d8e8c0de3)
![image](https://github.com/alibaba/Sentinel/assets/20302906/3b8fdbaf-453b-4709-b96b-2cdbec45899a)
![image](https://github.com/alibaba/Sentinel/assets/20302906/f7090340-f96f-4df1-bdb1-af5f469dd777)

### How to reproduce it (as minimally and precisely as possible)

1. dashboard以jar包的形式启动
2. 两个节点在相同机器的不同端口上启动
3. 一个节点上执行 如下代码
4. ![image](https://github.com/alibaba/Sentinel/assets/20302906/3d761d97-c046-442f-b9a8-4b2cf2dd7e80)
5. 后续该节点的限流生效
6. 同一集群下的其他节点不受限流影响

### Tell us your environment

### Anything else we need to know?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with the dashboard started from a JAR and two nodes on different ports under the same cluster, using the linked screenshots and example code as the available reproduction details. Compare rate limiting on the initiating node with the other node; the issue is done when the intended thread limit behaves consistently across the cluster.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.