Coordinating multiple AWS services into serverless workloads with Amazon Step Functions and Amazon SWF
In this section, we'll look at two different AWS services that enable you to design task-based workflows between your application components. The first service we will look at is AWS Step Functions, while the second will be AWS SWF.
AWS Step Functions
Applications tend to have several components that make up individual workflows and processes. Each workflow represents an element of the application that then leads on to the next to provide a complete end-to-end solution. Amazon Step Functions enables you to define these workflows as a series of state machines that contain "states" that make up the workflow. These states make decisions based on input, perform some action, and produce an output to other states.
States can be any of the following types:
- Success or fail state: Where the execution stops with a success or failure
- Wait state: Where the...