Choose where it runsΒΆ
A pipeline runs in four places. In the first three, the configuration and its nodes stay the same. A browser tab uses the same configuration format and node model, but not the same nodes: it runs nodes written for Pyodide, so a pipeline written for a server needs other nodes there. Pick the place that fits, then follow its guide.
- One process
python -m juturna launch --config pipeline.json: every node in worker threads of the same process (the defaultthreadingtransport). Guide: Write, check and run a pipeline.- An HTTP service
python -m juturna serve, then send the same JSON to its REST API to create, start and stop pipelines. Needs thehttpwrappergroup. Guide: Run pipelines behind an HTTP service.- A node on another machine
python -m juturna remotizeon the remote machine, and"warped": truewith awarp_configurationon the node in the pipeline. Needs thewarpgroup. Guide: Run a node on another machine.- A browser tab
"transport": "browser"in the pipeline, run byjuturna-browserin the Web Workers of a page, on Pyodide. Guide: run a pipeline in a page.
To ship any of them in a container, see Build a Docker image. How the threads and the browser backends differ underneath is in Transports.