Durable execution/workflow engine with convex support
I have had a library called
durable-execution
to run tasks durably. These tasks can be simple functions or complex workflows with a high degree of type safety. I use it for my file processing and other AI related workflows. This is similar to the workflow component by convex. Initially I added adapters for sql databases via drizzle as thats what I used but I've been loving Convex and wanted to use a single database so I added support for it!
https://github.com/gpahal/durable-executionGitHub
GitHub - gpahal/durable-execution: A durable execution engine for r...
A durable execution engine for running tasks durably and resiliently. - gpahal/durable-execution
2 Replies
Doesn’t Convex already provide something similar? https://www.convex.dev/components/workflow
Convex
Workflow
Simplify programming long running code flows. Workflows execute durably with configurable retries and delays.
Yes but I already used this and wanted to use Convex as my storage layer. It is also much faster but requires a separate node process. Different usecases