一、简介

image.png


二、特性

1、产品功能(弹力设计模式)

name how does it work? Premise
Retry repeats failed executions Many faults are transient and may self-correct after a short delay.
Circuit Breaker temporary blocks possible failures When a system is seriously struggling, failing fast is better than making clients wait.
Rate Limiter limits executions/period Limit the rate of incoming requests.
Time Limiter limits duration of execution Beyond a certain wait interval, a successful result is unlikely.
Bulkhead limits concurrent executions Resources are isolated into pools so that if one fails, the others will continue working.
Cache memorizes a successful result Some proportion of requests may be similar.
Fallback provides an alternative result for failures Things will still fail - plan what you will do when that happens.

2、Sentinel VS Hystrix VS Resilience4j

image.png