Expert AWS Development
上QQ阅读APP看书,第一时间看更新

AWS SWF components

Now let's learn about a few of the components which are used in Amazon SWF:

  • Domain: For workflow execution, a data domain is used as a logical container.
  • Workflow: It represents code components. It defines the logical order of workflow activities and child workflows.
  • Decider: It is a workflow worker. It polls for decision tasks and activities.
  • Activity: One or more units of work in a workflow.
  • Activity worker: Polls for activity tasks. In response, it runs activity methods.
  • Task List: It issues requests to the workflow and activity workers. Decision tasks are tasks for workflow workers. Activity tasks are tasks for activity workers.
  • Workflow starter: It starts workflow executions.

Amazon SWF orchestrates the operation of components, coordinating the flow, passing data into different components, heartbeat notifications, and handles timeouts behind the scenes.