journio-postgres
Postgres (and CockroachDB) storage backend for journio, the durable workflow orchestration engine.
journio-postgres implements journio's SystemDatabase trait on top of
Postgres via tokio-postgres with deadpool connection pooling: workflow state,
step records, durable timers, signals, events, queues, schedules, and streams
are journaled with LISTEN/NOTIFY-driven wakeup, enabling crash recovery
and replay for multi-process deployments sharing one database.
Example
use Arc;
use PostgresSystemDatabase;
use SystemDatabase;
let db = connect?;
db.migrate.await?;
let handle: = new;
License
MIT — see the repository LICENSE.