Show HN: Waymark – A workflow engine that compiles jobs instead of replaying git...
Show HN @show
Show HN: Waymark – A workflow engine that compiles jobs instead of replaying github.com · 6 points · 0 comments · HN thread
TL;DR Waymark is an open source durable execution library (Python first, with a Rust core) that stores workflows on Postgres alone. Instead of replaying workflow code like Temporal or DBOS, it compiles the workflow's Python AST to bytecode for a durable VM and snapshots state to Postgres as it runs. The post is a Show HN from the authors, who ask for feedback on which language to add next; the story has no comments yet.
- Workflows are written as plain async Python; the SDK parses the run() method's AST and lowers control flow (loops, conditionals, gather, sleep) to bytecode for a stackless VM.
- Compilation lets it reject nondeterministic calls such as datetime.now() or uuid4() at registration time, pushing them into explicit actions.
- Only Postgres is needed as the task broker; the authors cite around 1500 workflows/second in current benchmarks, with more optimization planned.
- Actions use FastAPI-style Depends() dependency injection, and a built-in webapp shows workflow runs and node load.
- The project is pre-1.0: the authors say not to use it in production yet because the spec changes and backwards compatibility is not guaranteed.
- The docs position it against Temporal and RabbitMQ, saying it is not suited to sub-100ms latency needs or more than about 10k concurrent actions.
Links in the post
- Waymark documentation and landing page: Marketing and docs site covering quickstart, control flow, retries, schedules, deployment, and the comparison with replay-based engines.
Discussion The comment thread is empty: the story has 6 points and no comments yet, so there is no community discussion to summarize.