alibaba / alibaba/Sentinel

请问一下,如果想做自适应限流的话,可以使用Sentinel实现吗?

Open
#3,538 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

你好,我目前想在多个实例上使用sentinel,通过定期检查下游资源的负载情况,动态调整当前周期的限流上限。

而且因为这多个实例启动的时间不一致,因此会存在这种情况:实例A正在以最大限流运行,此时实例B启动,实例A需要降低限流上限,而实例B需要从最小的限流值开始,逐步增加到实例A与实例B都能平稳运行的限流值(期望能尽可能平均,或者可以参考拥塞控制算法,实例A限流上限先减半,实例B可以分到一些资源)。

从目前Sentinel文档看的话,似乎暂时不支持这种情况。想咨询一下,这种需要动态调整限流的case,可以使用Sentinel实现吗?或者可以支持吗?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Sentinel documentation on flow control and multi-instance deployments. Compare the requested adaptive limit adjustment, staggered instance startup, and fair resource allocation with the documented capabilities; done means establishing whether Sentinel supports this case or defining the required support scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.