Menu

Express or Standard? Picking the Right Step Functions Workflow Type
📰

Express or Standard? Picking the Right Step Functions Workflow Type

DEV Community: serverless·Sascha Mirow-Stanitzok·4 days ago
#bcuBTAU8
#devtoserverless#devto#dev#express#standard
Long article (863 words) — no AI summary yet.
Reading 0:00
15s threshold

A while ago I looked at a state machine that answered a simple API call in well under a second. It had been running for months, two million times a month, and nobody had questioned the workflow type. It was Standard, because Standard is what you get when you click through the console without thinking. That one default decision turned a two-digit monthly bill into a three-digit one.

AWS Step Functions offers two workflow types, Standard and Express. They look almost the same, but they are billed in completely different ways – and you cannot switch the type of an existing state machine. In my full article on Step Functions Express vs Standard I work through the numbers for a fictional bike rental shop and build both variants with the Serverless Framework. Here is the condensed reasoning.

Two pricing models that reward opposite things

Standard charges per state transition . Time is free: a Wait state that pauses for three days costs the same as one that pauses for three seconds.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.