Simple Workflow Service
Solution Architect Associate
- Web service that makes it easy to coordinate work across distributed AWS components
- Tasks represent invocations of various processing steps in an application which can be performed by executable code, web service calls, human actions and scripts
- Workflow Starter
- Starts workflows…
- Workers
- Programs that interact with SWF to get tasks, process received tasks and return results
- Decider
- Programs that control the coordination of tasks
- Know workflows, deciders and workflow starters for exam!!!
- Workers and Deciders can run on AWS infrastructure, or on machines behind firewalls. SWF brokers the interactions between works and the decider, allowing the decider to get a consistent view of the progress of the tasks and to initiate new tasks
- SWF monitors the progress of tasks, and ensures a task is only assigned once and is never duplicated
- Major difference between this and SQS is that SWF guarantees no task duplication
- Workflows and activity types are scoped to a domain
- Domains isolate sets of types, executions and task lists from others within the same AWS account
- You can register a domain using the Console in SWF, or via the API
- Maximum workflow can be 1 year
- Task based API