Convex Orchestrator: Durable Workflows that Run on Your Server
Unlike the convex-workflow component the step execution happens on YOUR server not on convex. Convex is used for sync and durable state management for workflows.
It's like temporal / restate / inngest etc. Any of those durable workflow managers. But each one of those has it's own problems. Temporal for example is hard to self host and pretty overkill for most use cases. If you go with the hosted option the minimum plan is $100 / month. Restate and other options require you to expose an webhook endpoint, and that's not ideal at all.
Convex as a backend is a pretty natural fit for building something like this. The sync allows for a much simpler client api, db holds state, the hosted option is so much economical, you hold the data in your db. A ton of benefits.
Here's the npm package for the component.
https://www.npmjs.com/package/@akshatgiri/convex-orchestrator
It's still early but most of the base primtives like
workflow, step, sleep, sleepUntil, signal are ready. There's a ton of usecases. If you end up trying it out, lmk I'd be happy to connect.
