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

sentinel限流是否支持用户级别的限流 #3468

Open
runtu666 opened this issue Oct 29, 2024 · 2 comments
Open

sentinel限流是否支持用户级别的限流 #3468

runtu666 opened this issue Oct 29, 2024 · 2 comments

Comments

@runtu666
Copy link

请问 sentinel 中的限流是否支持对不同的用户进行不同的限流?
比如:
a 用户限制 qps为10
b 用户限制 qps为20
...

因为用户是成千上万的,规则也可能是成千上万的。所以想问下sentinel是否支持这种需求

@runtu666
Copy link
Author

问题2: sentinel 配置限流是否支持资源路由:比如 /api/user/{id} 这种可以匹配到 /api/user/1 /api/user/2 /api/user/3 这种

@limng06
Copy link

limng06 commented Nov 6, 2024

需要自己扩展Slot,虽然给了spi接口,但是params参数那块没有做抽象,很难无损扩展

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