Skip to content

Data plane architecture

So far the supplier certificate service has treated the access token as something that appears when a transfer starts. A new developer on the team asks where the token comes from, who told Costa’s side to issue it, and how Lindner’s call found the supplier certificate service. The answers lie in the split between control plane and data plane.

In this lecture the connector is called by its role: the control plane. It handles catalogs, contracts, and the state of transfers, in the same way for every kind of data. The data plane is the component that serves or moves the data once a transfer is allowed.

The connector project does not include a data plane. Any software that implements Data Plane Signaling can be one.

Data Plane Signaling (DPS) is the protocol between a control plane and its data planes.

DirectionMessagesPurpose
Control plane to data planeprepare, start, suspend, resume, terminateSay what to do for one data flow
Data plane to control planeprepared, started, completed, erroredReport progress

A data flow is the data plane’s view of a transfer process. For a pull, the provider’s data plane answers the start message with a data address: the endpoint for the data and the credentials to use there. The control planes do not interpret the data address. They pass it on through the Dataspace Protocol, and the consumer’s control plane hands it to its own data plane.

On the Danube Cloud platform, the data plane that speaks DPS is Siglet.

  1. Consumer connector → Consumer Siglet 1 Prepare
  2. Consumer connector → Provider connector 2 Transfer request
  3. Provider connector → Provider Siglet 3 Start
  4. Provider Siglet 4 Issues the access token
  5. Provider Siglet → Provider connector 5 Data address with endpoint and token
  6. Provider connector → Consumer connector 6 Transfer start with the data address
  7. Consumer connector → Consumer Siglet 7 Started, with the data address
  8. Consumer Siglet 8 Keeps the token for the application
Data Plane Signaling for a pull. The connectors pass the data address on. Siglet and the applications use it.

Costa and Lindner are hosted on the same platform, so one Siglet deployment plays both parts, with a separate context for each member. The messages are the same as between two companies with their own installations.

ShapeHow it worksFits
A token service in front of your APISiglet implements the signaling and issues the tokens. Your application serves the API and checks the tokens.Use cases that are a conversation: requests, answers, notices
A data plane that moves data itselfBuilt with a data plane SDK for Java, Go, or Rust. It implements the signaling and reads, writes, or streams the data.Files, bulk data, streams, and pushes into a destination

A use case can combine both: an API for the conversation and a moving data plane for large payloads. This path follows the first shape. The supplier certificate service knows the use case and leaves the signaling to Siglet.

Lecture 4 created an asset without any address. The address comes from the transfer type mapping in Siglet. For each participant context, the operator configures which endpoint stands behind a transfer type and which claims go into the token. For Costa’s context, the transfer type https://w3id.org/dspace-sig/profile/http-pull leads to the supplier certificate service at https://supplier-certificates.danube-cloud.example/api/v1.

In the usual setup, one mapping serves all API offers of a participant. Both of Costa’s assets lead to the same endpoint, and the application tells them apart by the dataset ID in the token.

A data plane must also be registered with the control plane, with its signaling endpoint and the transfer types it supports. The control plane uses the registration to list the available transfer types in the catalog and to select a data plane for a transfer. On a managed platform, the operator’s provisioning registers Siglet for each new participant context. With your own connector you register your data plane yourself, with one call to the Management API.

On a platform you therefore build two things: the endpoint with its API, and the check of the token on each call. Everything else comes from Siglet and the operator. If you run your own connector, it is yours as well.

  • The connector is the control plane. It never serves data. A data plane does, on the connector’s instruction.
  • For a pull, the provider’s data plane creates the data address with endpoint and token, and both connectors pass it on.
  • A use-case application with Siglet in front is one shape of a data plane. SDKs exist for data planes that move data themselves.
  • The endpoint of your API is configured in the platform as a transfer type mapping, not in the asset.