Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with alibaba/master #5

Merged
merged 6 commits into from
Aug 12, 2020
Merged

Sync with alibaba/master #5

merged 6 commits into from
Aug 12, 2020

Commits on Jul 30, 2020

  1. Refactor degrade hierarchy with new circuit breaker mechanism and imp…

    …rove strategy
    
    * Add `CircuitBreaker` abstraction (with half-open state) and add circuit breaker state change event observer support.
    * Improve circuit breaking strategy (avg RT → slow request ratio) and make statistics of each rule dependent (to support arbitrary statistic interval).
    * Add simple "trial" mechanism (aka. half-open).
    * Refactor mechanism of metric recording and state change handling for circuit breakers: record RT and error when requests have completed (i.e. `onExit`, based on #1420).
    
    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    c0c27c8 View commit details
    Browse the repository at this point in the history
  2. Update test cases for circuit breaking

    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    07b8111 View commit details
    Browse the repository at this point in the history
  3. Update demo for circuit breaking (DegradeRule)

    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    19db20f View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. test: Update test cases with new degrade mechanism in sentinel-demo-q…

    …uarkus
    
    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    a5fe23a View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2020

  1. Remove deprecated passCheck() in Rule and polish interface

    Signed-off-by: Eric Zhao <[email protected]>
    sczyh30 authored and jasonjoo2010 committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    a18ef7c View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Configuration menu
    Copy the full SHA
    b9b1e8a View commit details
    Browse the repository at this point in the history