commercetools / rmf-codegen

Provides RAML code generators based on RMF.
Apache License 2.0
13 stars 7 forks source link

Best practice 1 : Retry #194

Open barbara79 opened 4 years ago

barbara79 commented 4 years ago

In order to add proper retries to the sdk, we can try to implement retry middlewares with different retry strategies. prefrably make a PR per middleware to keep focus on each case.

create minimum 5 Middleware one for each type of retry:

see here for technical details https://docs.microsoft.com/en-us/azure/architecture/best-practices/transient-faults

linked to https://github.com/commercetools/rmf-codegen/issues/192

barbara79 commented 4 years ago

there is already an Exponential back-off