alibaba/sentinel-golang

Enhance the probe mechanism in circuit breaker

Open

#151 opened on May 21, 2020

 (0 comments) (0 reactions) (0 assignees)Go (453 forks)github user discovery
area/circuit-breakinggood first issuekind/enhancement

Repository metrics

Stars
 (2,957 stars)
PR merge metrics
 (PR metrics pending)

Description

Issue Description

Type: feature request

Describe what feature you want

Currently, the circuit breaker implement based on state machine. Details refer to https://github.com/alibaba/sentinel-golang/issues/122

  1. Probing from Open to Half-Open only once. If succeed to probe, changes state to Closed, if not, changes state back to Open.
  2. Timeout of probing is fixed. Maybe need somehow backoff to optimize the probe mechanism

Additional context

Add any other context or screenshots about the feature request here.

Contributor guide