简体   繁体   中英

c# - Polly how to persist retry chains

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM