Architecture
The parts
| Part | What it does | Docker Compose service |
|---|---|---|
Web UI |
The browser interface: data sources, projects, workflows, runs and administration. |
|
API |
The REST API, which the web UI also uses. It queues runs for the workers, checks users' roles and permissions, and holds the license. |
|
Metadata database |
PostgreSQL. It stores data sources, projects, workflows and their versions, users, run history and logs. Data source credentials are encrypted with the |
|
Workers |
Run workflows. A worker reads the input data source, transforms the data and writes the output data source. |
|
TDK CLI |
The transformation engine as a command-line tool. It runs a YAML configuration against the databases you give it, without Governor. Needs Java 17 or later. |
Not part of Governor |
Governor is the web UI, the API and the metadata database together. The Quick Start demo also has an optional local S3-compatible store, the Versity gateway, for file workflows; see the Quick Start.
How workers and Governor connect
A worker opens the connection: it connects to the API over gRPC, on port 50055 by default (set with WORKER_GRPC_PORT on the API container). It then takes queued tasks, runs them, and reports their status and logs. So workers can sit in other networks, close to the databases, as long as they can reach Governor.
-
Database contents stay with the worker. Workers send Governor the status and logs of a run, not the data itself.
-
The connection can be encrypted. A worker uses TLS by default; the shipped Helm chart and Docker Compose file turn it off with
WORKER_USEPLAINTEXT. See Worker–Governor mTLS. -
Worker groups route the work. A worker only takes a task when both the input and the output data sources are in one of its groups; a worker with the group
*takes any task. See Synthesized Workers.
In the web UI, connected workers are listed under Administration > Workers. Older releases call them Agents.
Where your data goes
| Data | Where it is |
|---|---|
Database contents |
Read from the input by the worker or CLI, transformed in memory (and in a working directory, if one is configured), and written to the output. Not sent to Governor. |
Configuration and run history |
In Governor’s metadata database. |
Data source credentials |
Encrypted in the metadata database, or in your secret manager. The worker gets them to connect. |
Logs |
Run logs go to Governor’s run history. Container logs stay on each container. |
The input database is only read, unless a workflow uses the SAME_DATABASE_TRANSFORMATION flag to write into the same database. Give the platform a read-only user for the input, and a user with write grants for the output; see Database Permissions.
Scaling
-
More runs at once: add workers. Each worker takes tasks independently. See Multi-Worker Deployment.
-
Faster runs: put the worker close to the databases, and see Improving Performance.
-
Many networks: run a worker in each, with worker groups, so each run goes to a worker that can reach its data sources.
Where to run it
| Option | Guide |
|---|---|
Docker Compose |
|
Kubernetes |
|
No internet access |
|
Cloud marketplaces and other options |
|
From a pipeline, without Governor |
Related pages
-
Workflows and Runs: what a worker does during a run.