c# - Polly how to persist retry chains

6/13/2018

We are considering to use Polly as our failover lib.

We run our applications in a kubernetes environment. We can't guarantee that the pods that for example are running retry attempts against a certain service will live long enough for the request to be successfull. And if the pod dies the retry chain disappears forever I guess..

How do you deal with that scenario? It is important for us that certain retry chains allways continue until success.

-- PvPlatten
c#
kubernetes
polly

1 Answer

6/13/2018

Polly is an in-process library and doesn't currently offer any out-of-process retry co-ordination. There is no current option to persist Polly retry state anywhere out-of-process.

-- mountain traveller
Source: StackOverflow