System Overview
Continuum is split into a browser frontend, a core backend, and independent feature workers that provide the actual workflow nodes. The core backend has three parts: the API server, the orchestration service, which interprets the graph as a Temporal workflow, and the message bridge.
| Component | Role |
|---|---|
continuum-api-server | REST entry point for the workbench, node registry, starts/cancels/terminates workflow runs |
continuum-orchestration-service | Temporal workflow worker that interprets the canvas graph and drives execution. It schedules nodes, routes them to workers, wires outputs to inputs, and publishes status. See Orchestration Service. |
| Temporal | Persists every step of the run and delivers workflow and activity tasks through task queues |
| Feature workers | Run the actual node logic (execute()) as Temporal activities |
continuum-message-bridge | Forwards Kafka status events to the browser over MQTT, and maintains the node registry |
Execution flowβ
- You design a workflow in the browser (React Flow canvas) and hit Execute.
continuum-api-servervalidates the node properties, records aPENDINGrun, and starts aContinuumWorkflowonWORKFLOW_TASK_QUEUE, passing the graph (nodes + edges) as input.continuum-orchestration-servicepicks up the workflow task and begins interpreting the graph. ItsInitializeActivityresolves which task queue (= which worker) handles each node type, viaPOST /api/v1/node-explorer/nodes/task-queuesagainst the API server's node registry.- The orchestrator finds every node whose parents have all produced output and dispatches
IContinuumNodeActivity.run()for each one to the resolved worker's task queue. Each node's inputs are wired from its parents' outputs along the graph's edges. - The worker downloads input Parquet from MinIO, runs
execute(), uploads output Parquet, and returns references to the output files. - Nodes run in parallel where the DAG allows. The orchestrator waits for the first pending node to complete, records its outputs (or error), and schedules newly unblocked nodes, repeating until the graph is exhausted.
- On every state change, and whenever a worker sends a progress signal, the orchestrator publishes a
WorkflowUpdateEventto Kafka. continuum-message-bridgeconsumes the Kafka event and republishes it to Mosquitto (MQTT).- The browser receives the update over MQTT-over-WebSocket and lights up the corresponding node in real time.
The same flow as a sequence:
Why this survives crashesβ
Temporal persists workflow state (in PostgreSQL) at every step. If a worker process dies mid-execution, Temporal retries the pending activity once a worker becomes available again β no data loss, no restart from scratch. If the orchestration service itself restarts, another instance replays the workflow's history and resumes where the DAG loop left off.
This is the "crash-proof execution" promise: a failed Kafka broker, a restarted worker or orchestrator pod, or a dropped network connection doesn't lose workflow progress.
Task queuesβ
Three Temporal task queues coordinate the system:
| Queue | Consumer | Purpose |
|---|---|---|
WORKFLOW_TASK_QUEUE | ContinuumWorkflow (orchestration service) | Drives the DAG execution loop |
ACTIVITY_TASK_QUEUE | ContinuumNodeActivity (feature workers) | Runs individual node logic β name overridable per worker via continuum.core.worker.node-task-queue |
ACTIVITY_TASK_QUEUE_INITIALIZE | InitializeActivity (orchestration service) | Resolves node β task queue routing before dispatch |
See Orchestration Service for how the graph is interpreted, Node Model & Registration for how a worker's nodes end up in that registry in the first place, and Data Format for how data actually moves between nodes.