AWS Step Functions

Pasted image 20221017103221.png

  • Model your workflows as state machines
    • Useful for Order fulfillment, Data processing
    • Web applications
  • Written in JSON
  • Visualise and execute the workflow
  • To trigger a workflow, we can use
    • SDK
    • API Gateway
    • Event Bridge
  • Involves one or many States

Standard vs Express workflows

  • Express workflows allow you to do short duration but a lot of execution per second
Standard WorkflowsExpress workflows
Maximum duration1 year5 minutes
Number of execution2000 executions per second> 100,000 executions per second
State transition rate4000 state transition per secondnearly unlimited
PricingPer state transitionPer number of executions
Execution historyStep function API, CloudWatch LogsCloudWatch Logs
Execution semanticsExactly-once workflow executionAt-least-once workflow execution