relativitydev / Gravity

ORM Framework for Relativity Custom Development
Other
16 stars 10 forks source link

Use Polly for transient fault handling #19

Open Arithmomaniac opened 6 years ago

Arithmomaniac commented 6 years ago

Gravity currently has its own InvokeWithRetryService. It may be worth considering using Polly policies instead for this purpose, as it is battle-tested and more flexible.

mrobustelli commented 6 years ago

This seems like something we should have a discussion about. It seems like it is a good idea, but want to make sure everyone (that cares) has time to think and consider. After the US Thanksgiving break, we should set up a discussion.

Arithmomaniac commented 6 years ago

It came up at the meeting that Microsoft has their own transient fault handler. Well, they did - it was in the Enterprise Library - but it was abandoned in 2013.

Arithmomaniac commented 6 years ago

Last dicsussed on Slack here.

KalinaTSD commented 5 years ago

We should decide which patterns must be applied here. Microsoft recommends RetryForever Policy + Circuit Breaker.