This documentation is available to agents as Markdown at https://docs.synthesized.io/tdk/latest/user_guide/030_core_concepts/architecture.md. For the complete documentation index, see llms.txt.

Architecture

The Synthesized Platform runs inside your network. Governor is where you and your pipelines work; workers do the processing next to your databases; the TDK CLI runs the same engine without Governor.

People use the web UI in a browser, and scripts and CI pipelines use the REST API. Both reach Governor, which has three parts: the web UI, the API, and a PostgreSQL metadata database that stores workflows, run history and encrypted credentials. Workers connect to Governor over gRPC on port 50055, take tasks, and send back status and logs. Workers read the input database and write the output database, so database contents stay with them. The TDK CLI runs a YAML configuration and reads and writes the databases directly, without Governor.

The parts

Part What it does Docker Compose service

Web UI

The browser interface: data sources, projects, workflows, runs and administration.

frontend

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.

backend

Metadata database

PostgreSQL. It stores data sources, projects, workflows and their versions, users, run history and logs. Data source credentials are encrypted with the CREDENTIALS_ENCRYPTION_KEY, unless they’re kept in a secret manager.

db

Workers

Run workflows. A worker reads the input data source, transforms the data and writes the output data source.

worker

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

Docker Compose

Kubernetes

Helm

No internet access

Offline installation

Cloud marketplaces and other options

Deployment options

From a pipeline, without Governor

TDK CLI