Sentinel启动流程
1 环境初始化
1 |
|
InitExecutor.doInit();
1 |
|
spi机制
MetricCallbackInit
1 |
|
Sentinal执行流程
entry
SphU
1 |
|
CtSph
1 |
|
lookProcessChain(resourceWrapper);
1 |
|
1 |
|
每个处理插槽的作用
FlowSlot
1 | /* |
FlowRuleChecker
1 |
|
passClusterCheck
1 |
|
passLocalCheck
1 | private static boolean passLocalCheck(FlowRule rule, Context context, DefaultNode node, int acquireCount, |
- 本文作者: 忘忧症
- 本文链接: https://NepenthesZGW.github.io/2020/09/08/framework/SpringCloud/sentinel/Sentinel启动流程/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!