spike: evaluate Francis as the State Store's durable run engine #1097

Closed
opened 2026-10-27 13:39:00 +00:00 by sam · 1 comment
Owner

Francis (gofrancis.dev, ItalyPaleAle/francis, MIT, 0.1.0) is a Go virtual-actor framework and workflow engine. It persists state synchronously to Postgres or SQLite, and offers alarms, durable leased jobs, cron singletons, task pools with capability routing and dead-lettering, and workflows with compensations. It can run embedded with no control plane.

Question: could the State Store use it internally for durable run execution (alarms, retries, compensations), behind its existing gRPC contract, so no other service sees Francis tables or transport?

Not now: it duplicates NATS plus State Store dispatch, adds a second transport, and its scale-out benefit needs more than one archied. Revisit when archied needs replicas or work needs capability routing.

Done when: a one-page verdict covering table ownership, coexistence with NATS ARCHIE_TASKS, missed-cron behaviour, mapping workflow YAML to Francis workflow definitions, and an adopt or drop call.


Imported from beads archie-core-69hfz · GitHub #1919 · type task · priority P4 · created 2026-10-26

Francis (gofrancis.dev, ItalyPaleAle/francis, MIT, 0.1.0) is a Go virtual-actor framework and workflow engine. It persists state synchronously to Postgres or SQLite, and offers alarms, durable leased jobs, cron singletons, task pools with capability routing and dead-lettering, and workflows with compensations. It can run embedded with no control plane. Question: could the State Store use it internally for durable run execution (alarms, retries, compensations), behind its existing gRPC contract, so no other service sees Francis tables or transport? Not now: it duplicates NATS plus State Store dispatch, adds a second transport, and its scale-out benefit needs more than one archied. Revisit when archied needs replicas or work needs capability routing. Done when: a one-page verdict covering table ownership, coexistence with NATS ARCHIE_TASKS, missed-cron behaviour, mapping workflow YAML to Francis workflow definitions, and an adopt or drop call. --- _Imported from beads `archie-core-69hfz` · GitHub #1919 · type task · priority P4 · created 2026-10-26_
sam added the task label 2026-10-27 13:39:00 +00:00
sam self-assigned this 2026-10-27 13:39:00 +00:00
sam added the low label 2026-11-12 15:52:17 +00:00
Author
Owner

Superseded: the durable engine was decided in ARCHITECTURE.md section 2.2 (private sam/archie-product) and recorded on #1997. Archie keeps its own engine, reshaped around step checkpoints in Postgres.

Superseded: the durable engine was decided in ARCHITECTURE.md section 2.2 (private sam/archie-product) and recorded on #1997. Archie keeps its own engine, reshaped around step checkpoints in Postgres.
sam closed this issue 2026-11-15 05:38:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1097