Use Cases for AWS Step Functions

Dashbird continuously monitors and analyses your serverless applications to ensure reliability, cost and performance optimisation and alignment with the Well Architected Framework.

Product Features Start Free Trial

AWS Step Functions is well suited for handling any kind of process or workflow in which multiple services need to be coordinated to accomplish a higher level task. Especially in cases where there is a need to control the flow of information and process execution based on rules and/or results from previous tasks.

Below we list some examples of workloads that would usually benefit from using Step Functions. It is not an extensive list, intended only for illustration purposes.

ETL and Artificial Intelligence Jobs

Extract, Transform and Load (ETL) jobs are becoming more and more common in many applications and companies. The rise of tools for data analytics and artificial intelligence has made it inevitable to deal with large amounts of data. Often, the data points require manipulation in multiple steps before being ready for analysis.

The same is valid for Machine Learning or Deep Learning tasks. They often involve processing pipelines in which a series of steps must be followed before reaching a prediction or classification result.

To solve these needs, Step Functions can be used in connection with other services, such as AWS Lambda or AWS Batch to run custom logic upon the data, as well as S3 and DynamoDB to store and retrieve information along the workflow processing.

Microservices Orchestration

Applications that implement a microservices architecture can benefit from Step Functions by simplifying the orchestration work. Higher level tasks can be composed from multiple services that are coordinated in a centralized, but decoupled manner.

Complex logic and rules can be applied to the workflow in order to account for exceptional cases. The retry mechanism embedded in Step Functions (and integration services such as AWS Lambda) makes it even easier to implement fault-tolerant microservices composition strategies.

Fan-out or parallel processing

Step Functions can be used to process multiple tasks in parallel, or to control the fan-out process of tasks that require a breakdown in order to be tackled in small steps.

Handling lists of datapoints

Step Functions support logic such as for loops. When there is a list of datapoints to process in a similar, but independent fashion, this feature can be implemented. The same workflow can be designed for the entire list, but each item is processed separately and sequentially by Step Functions.

No results found