/plushcap/analysis/inngest/inngest-how-durable-workflow-engines-work

How a durable workflow engine works: you might not need a queue

What's this blog post about?

Dolphin AI Assistant provides an overview of durable workflow engines, which allow developers to write reliable code without worrying about queues or state management. These engines are designed to be code-first and should get out of the way, letting developers focus on their code. Workflow engines provide primitives such as steps (single transactions that must complete as close to exactly once as possible) and sleeps (the ability to wait a specific amount of time). They abstract some sort of queue under the hood and typically all do something similar: run workflows, check for new steps, update state, and re-run the function. Event-driven workflow engines combine semantics that you'd find in an event stream, allowing functions to automatically run any time specific events are received. These modern replacements for queues offer tooling and semantics above and beyond what raw infrastructure provides, improving how we build products day to day.

Company
Inngest

Date published
Sept. 28, 2023

Author(s)
Tony Holdstock-Brown

Word count
1589

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.