DEV Community
•
2026-04-11 11:46
I built a saga workflow engine for Bun (no Temporal, no Redis, no Kafka)
TL;DR
I built a workflow engine inside bunqueue with first-class saga compensation, retries with exponential backoff, branching, parallel steps, loops, sub-workflows, and human-in-the-loop signals. It runs on Bun + SQLite. Zero external infrastructure. The DSL is plain TypeScript and reads like pseudocode. Source: bunqueue.dev/guide/workflow.
The problem nobody wants to deal w...