1 Architecture
Michael Hanke edited this page 2026-11-13 12:13:47 +01:00

Architecture

This page describes the shape of Cerebra in conceptual terms -- the services this site connects, and how they fit together. The general structure of the underlying platform (its layers and individual components) is described in the platform handbook; deployment details such as individual servers, network layout, and software versions are operational concerns and are not covered here. For the rationale behind this shape, see Why Cerebra and Data and compute.

How Cerebra is wired

At the centre is the repository, running on a git-centric forge: Forgejo with the forgejo-aneksajo distribution. Those foundations, and how they behave, are documented upstream and in the platform handbook rather than restated here. What makes Cerebra what it is are the particular things this instance connects to that core -- connected storage such as FZJ's JUST system (content may equally stay on a project's own storage), a shared metadata service, and compute that owners bring themselves.

flowchart LR
    subgraph Core["Repository core (forgejo-aneksajo on Forgejo)"]
        R["Repositories and metadata model"]
    end

    subgraph Store["Storage (federated)"]
        S["Connected storage: JUST, or a project's own (e.g. on-premise)"]
    end

    subgraph Meta["Metadata services"]
        MUI["Metadata UI"]
        API["Metadata API"]
    end

    subgraph Comp["Compute (federated)"]
        CR["Self-managed runners"]
    end

    R -.->|"content tracked, kept externally"| S
    R -->|"drives"| Meta
    Meta --> MUI
    Meta --> API
    CR -.->|"runs jobs on"| R

Reading the picture

  • Content stays outside the core. The repository keeps history and tracking information; the bulk content lives in connected storage and is tracked through git-annex rather than copied into the platform. See Data and compute.
  • A model drives both metadata paths. A single LinkML/SHACL model produces the human forms and the machine API together, so the two cannot drift apart. The model and its components are described in the metadata subsystem; the general information model is covered in the platform handbook.
  • Compute is brought to the data. Jobs run on runners -- some provided, some registered by an owner. Which runners may act on which data is governed by the owner model. See Access and responsibility.

The common thread across every component is the same one stated in Important information: the platform coordinates the work, while the data, the compute, and the responsibility for both stay with their owners.