4 ms·
Is "step function" a term of art I'm just ignorant of in computer science? AWS Step Functions, sure. How it's used here? No idea. > It enables developers to wr
by ctvo 3y ago
Is "step function" a term of art I'm just ignorant of in computer science? AWS Step Functions, sure. How it's used here? No idea.
> It enables developers to write declarative step functions...
> With thousands of customers running thousands of step functions containing parallel steps....
> If you're familiar with step functions, you probably already see what's happening here...
- hot_gril 3y ago"Step function" is sort of a standard term, yeah. Each step is some piece of code that runs at some point in the near future and persists its result for the next step to ingest. It could randomly fail (crashes, preemption, etc) before persisting, in which case the step is retried soon, so it better not have consequential side effects. Most likely you're interacting with external systems (like credit card processors) if you're using step functions in the first place, so idempotency is key. I've done basically this sorta manually at a smaller scale. Each step was a Postgres table, like "user order initiated," "order confirmed," "order fulfilled," with automated steps (sometimes cronjobs) in between. Sometimes I wanted to expose that status to users. I could see using Inngest at a larger scale.
- deleted 3y ago[deleted]
- rmbyrro 3y agoI don't think that's exactly the meaning on this article in particular, but I've seen people using "step function" as synonym to a step in a Finite-State Machine. SWE technical terms are used very loosely, especially on blog posts like this.
- hot_gril 3y agoIt also means something unrelated in mathematics