faas-flow icon indicating copy to clipboard operation
faas-flow copied to clipboard

Add options to retry operations with retry count and timeout

Open s8sg opened this issue 4 years ago • 5 comments

Retry an operation if failed or timeout happen. If configured, when a operation fails the it will be retried, for n time. Where n is less than retry count.

s8sg avatar Jul 26 '19 04:07 s8sg

May be good to have backoff interval for retry

vtolstov avatar Aug 02 '19 20:08 vtolstov

@vtolstov do you think its good have it integrated within the executor. Then the changes will be in sdk and applicable for all operation.

Alternatively we may let user handle it in ExecuteOperation() call. In that case it will be only at faas-flow template level changes

s8sg avatar Aug 06 '19 06:08 s8sg

I think about it, in case of put it in ExecuteOperation all users needs to add logic to retry, timeouts and backoff. I think that timeout is the core stuff..

vtolstov avatar Aug 06 '19 09:08 vtolstov

@s8sg when you can do retries and timeouts? Or how can i add it to provide pr (in case od adding it to sdk)

vtolstov avatar Aug 11 '19 08:08 vtolstov

I’m really busy. I’ll do that as soon as I manage some time. Great if you can raise a PR. I haven’t made any progress so far on this one

s8sg avatar Aug 11 '19 08:08 s8sg