Amazon Simple Workflow (SWF) vs AWS Step Functions vs Amazon SQS
Amazon Simple Workflow (SWF)
- A web service that makes it easy to coordinate work across distributed application components.
- In Amazon SWF, tasks represent invocations of logical steps in applications. Tasks are processed by workers which are programs that interact with Amazon SWF to get tasks, process them, and return their results.
- The coordination of tasks involves managing execution dependencies, scheduling, and concurrency in accordance with the logical flow of the application.
AWS Step Functions
- A fully managed service that makes it easy to coordinate the components of distributed applications and microservices using visual workflows.
- You define state machines that describe your workflow as a series of steps, their relationships, and their inputs and outputs. State machines contain a number of states, each of which represents an individual step in a workflow diagram. States can perform work, make choices, pass parameters, initiate parallel execution, manage timeouts, or terminate your workflow with a success or failure.
- A message queue service used by distributed applications to exchange messages through a polling model, and can be used to decouple sending and receiving components.
- FIFO (first-in-first-out) queues preserve the exact order in which messages are sent and received. Standard queues provide a loose-FIFO capability that attempts to preserve the order of messages.
|Amazon SWF vs AWS Step Functions||AWS Step Functions vs Amazon SQS||Amazon SQS vs AWS SWF|