Skip to content

How Flux works

flowchart LR
  src[(Your systems)] -- connectors --> run[Run<br/>Flux Core]
  pipe[Pipeline<br/>active version] --> run
  sched[Schedules · triggers] --> run
  run -- commit --> ds[(Dataset<br/>snapshots)]
  ds --> app[Apps · SQL · other pipelines]
  run -. events .-> live[Live status · notifications · triggers]

A connection says how to reach one system: a database, an HTTP API, or a bucket or SFTP folder where files land. Secrets are encrypted field by field. Flux talks to each system through a connector, a small signed program it downloads from Flux Forge and runs on its own, so a misbehaving driver can’t take Flux Core down with it.

A pipeline is a graph of nodes. Sources at the left, a target at the right, and any steps between. Any output can feed any number of nodes, so one cleaned table can go to a dataset and a warehouse at once. Calculations use a formula language close to SQL and spreadsheets, checked as you type.

Pipelines are versioned. Saving makes a new version; activating chooses which version schedules and triggers run. You can compare versions and roll back.

A run executes one version of a pipeline on Flux Core, the engine that does the work:

  1. Queued until there’s room (one run per pipeline at a time, within the platform’s compute quota).
  2. Running: Flux Core reads the sources and writes the results to staging. Big runs split into shards working in parallel.
  3. Committing: every dataset the run wrote is published in one step.
  4. Succeeded, failed or cancelled. A failed run leaves your datasets exactly as they were.

Status, per-node rows and logs stream to the app while it runs. See Runs and compute.

A dataset is the output of a pipeline’s dataset target: a table of Parquet files with a catalog that tracks snapshots. Each run adds a snapshot; old ones stay readable. Applications read the current snapshot over HTTP, by key, by range or with SQL, from the same files the pipeline wrote. Other pipelines read datasets too, so you can build in layers.

Datasets are read-only unless an admin makes one writable. Then applications can put and delete rows by key; their changes show up immediately and are folded into the next snapshot in the background.

Schedules start a pipeline on a timetable and can skip the dates of shared calendars. Trigger rules start one when an event matches: another pipeline finished, a dataset changed, or another system posted an event. Events are also what drives the live app and the email and webhook notifications. See Events.