alibaba/Sentinel

Support circuit breaking according to statistics of other resources

Open

#605 aberto em 22 de mar. de 2019

Ver no GitHub
 (9 comments) (0 reactions) (0 assignees)Java (8.150 forks)batch import
area/circuit-breakinggood first issuekind/enhancement

Métricas do repositório

Stars
 (23.109 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Issue Description

Type: feature request

Describe what happened (or what feature you want)

       ClusterNode clusterNode = ClusterBuilderSlot.getClusterNode(this.getResource());
        if (clusterNode == null) {
            return true;
        }

这里熔断降级是根据当前的资源进行降级的,期望能否把第三方的一组接口当成一个资源,如果一个接口出现异常或者时延较高,则对当前组的接口进行熔断降级。

Describe what you expected to happen

        Node selectedNode = selectNodeByRequesterAndStrategy(rule, context, node);
        if (selectedNode == null) {
            return true;
        }

期望也跟流控一样可以根据同一个origin进行熔断降级

Guia do colaborador