• Expands to Simple Workflow Service
  • AWS service to harmonize work across distributed software application
  • distributed software applications are group of tasks, like
  • media processing
  • business process workflow
  • analytics
  • Tasks in SWF is processing steps of software application and can include
    • executable code
    • web service calls
    • human actions
    • scripts
  • tasks coordination implies
  • managing execution dependencies
  • scheduling of tasks
  • maintain concurrency as per logical flow of software
  • SWF Flow Framework asynchronously develops application
  • tasks are
    • steps in applications
    • processed by workers
  • workers
    • process task and returns results
    • are built in different programming languages
  • re-use existing workers
  • Decider
    • worker coordination by decider
    • takes decision tasks during workflow transition in execution
    • transition can be task completion or time out
    • decision tasks has input, output, state of previously initiated activity tasks to decide next step
    • AWS maintains history of all execution for decider.
    • History starts with task execution start till end and has input data, present state, etc
  • can deploy workers/deciders  in AWS or on-premise
  • Access SWF by
    • SDK for Java/Ruby/.NET/PHP
    • Flow Framework for Java
    • SWF web service APIs
    • AWS Management Console
  • SWF Registration
    • needed for all workflows and activities.
    • it provides unique type-ids for each activity and workflow type.
    • register programmatically/by SWF Management Console.
  • SWF domains
    • logical containers defined to  organize application resources
    • cannot be nested
    • has user-given name
    • application resource for a domain include
    • workflow type
    • activity type
    • execution
  • it is specified during registration

Menu