simpleflow icon indicating copy to clipboard operation
simpleflow copied to clipboard

Handle the failure to schedule an activity

Open ggreg opened this issue 11 years ago • 0 comments

Overview

When SWF cannot schedule an activity, it adds an ActivityEvent with a scheduled_failed state. It occurs when:

  • The activity type does not exist.
  • The number of activity to schedule exceeds the rate limit.

Activity Type does not exist

See #6.

Rate limit exceeded

In this case, the executor should only schedule a TimerDecision with a value defined by an exponential backoff. It needs to find the number of backoff to set the next value accordingly.

ggreg avatar Jul 14 '14 20:07 ggreg