Skip to content

ADR-0003 · Connectors run out of process

Status: Accepted · 2026-09-30

Sources range from HTTP to Oracle/Databricks with large native drivers. We want small, fast-starting images, and a faulty driver must fail the run loudly, not corrupt it.

  • One standard runner image. Connectors are separate executables, fetched from Forge on demand, verified (sha256 + Ed25519 signature + catalog pin), and spawned as child processes.
  • Runner ↔ connector: length-prefixed JSON control messages and Arrow IPC batches over the child’s stdin/stdout (design 04). One process per operation, empty environment, credentials on stdin only.
  • Heavy ecosystems use the flux-connector-adbc host, which loads the one ADBC driver shipped in its bundle inside its own process.

Amended 2026-09-30 (T8): stdio replaced the planned Unix socket. With one process per operation, the pipes are already a private, ordered, back-pressured channel, with no socket paths, permissions or cleanup to manage.

  • Any connector crash, protocol violation, or non-zero exit → run fails immediately.
  • One copy of data between processes (Arrow IPC is cheap relative to network I/O).
  • Per-connector memory limits and clean isolation.
  • Warm container reuse is possible: new process per run, artifact re-verified on every launch, scratch wiped, never across tenants.