alibaba/sentinel-golang

Enhance the probe mechanism in circuit breaker

Aperta

#151 aperta il 21 mag 2020

 (0 commenti) (0 reazioni) (0 assegnatari)Go (453 fork)github user discovery
area/circuit-breakinggood first issuekind/enhancement

Metriche repository

Star
 (2957 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor