Replies: 1 comment
-
Here are some hints for your trade-off analysis
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a scenario where I'm evaluating building a custom policy so that the behavior can be managed pipeline/handler-style like the other Polly Policies we're using (i.e., Retry, Circuit Breaker, Bulkhead).
As I examined the custom policy templates from the Polly-Contrib repo I was trying to gauge whether or not it was feasible to build my two behaviors into a single policy as they are directly related and essentially handling the same concerns - one just happens to do something additional for retrying and evaluating whether to continue to retry or not/allow the failure to bubble out of the policy.
Any advice? I've started eyeballing the two templates side-by-side but being new to custom policies I'm wondering if this is the right thing to consider and can be done versus just build two separate policies where one wraps the other.
Beta Was this translation helpful? Give feedback.
All reactions