Comments (2)
In case of fallback mode the hedging strategy can execute more than one attempts depending on the number set to the MaxHedgedAttempts
property.
For example if MaxHedgedAttempts
is set to 3 then your initial attempt could fail, your first retry attempt could fail as well, while the 2nd retry attempt could succeed.
So, it is more like a combination of retry and fallback. In case of retry you re-execute the same action over and over. In case of fallback you can provide a substitute action. In case of hedging you can perform multiple attempts with the same or a custom action (ActionGenerator
).
from polly.
Thanks for the detailed explanation. I understand much better now!
from polly.
Related Issues (20)
- [Feature request]: Add ConfigureResiliencePipelineRegistry to IServiceCollection HOT 4
- [Question]: Customize telemetry event severity? HOT 10
- [Bug]: Retry Startegy stops retrying unexpectedly
- [Feature request]: Make 'PipelineDisposed' event available on ResiliencePipelineProvider HOT 1
- [Question]: Polly 8.2.0 Why Timeout not effective? HOT 9
- [Question]: Replacing ResiliencePipelineProvider with keyed services HOT 8
- [Bug]: ResiliencePipelineBuilder AddCircuitBreaker grows stacktrace uncontrollably HOT 11
- [Feature request]: Relax validation of TimeoutStrategyOptions.Timeout HOT 4
- how to use it for retry but not fault situation? HOT 10
- [Question]: Circuit Breaker: Using BreakDurationGenerator to implement exponential backoff of open to half-open state HOT 1
- [Question]: Polly v8.2.0 how to use AddRetry and AddFallback methods HOT 16
- Simmy API Review and Feedback HOT 32
- [Feature request]: Adding Polly.Telemetry event for being out of retries HOT 4
- [Question]: Is Polly compatible with Unity ? HOT 2
- [Question]: HOT 1
- [Question]: Complex Pipeline Keys documentation example not working as expected HOT 2
- [Question]: Migration from HOT 4
- [Bug]: Retry doesn't happen with FakeTimerProvider.Advance HOT 5
- [Feature request]: Integrate / add support for Lunar Proxy (backend resilience strategy) HOT 3
- [Question]: How can I suppress Execution Attempt log when using Polly V8 ResiliencePipelineBuilder? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polly.