System Design Atlas

Research data and reproducible analysis

06 / 10Worked example

The overall architecture

How do modules and processes divide responsibility for the analysis run and external processing?

The local consistency rule defines the analysis API boundary. Isolated computation handles deferred work in a separate process. Input manifest, recipe binding, comparison review and publication are modules within the API, not separately operated services. The analysis API owns relational run manifests and review decisions. Inputs and results reside separately in an immutable artifact store. Isolated computation reads approved inputs, writes temporary results and offers a final reference only after hash verification. Reviewers confirm the comparison; a separate publication job sends exactly these artifacts to the publication archive. The archive returns a hash acknowledgement to the API. Large files flow directly between the compute process and artifact store; metadata flows through the API.

Starting point Artifacts remain immutably addressable.

Assumptions for the example case

An original fictional design for a deterministic tabular analysis run with frozen input, recipe and environment. A compute job has a runtime budget of 600 seconds; at the limit it stops accepting new computation steps and is marked timed out. All figures and test targets are illustrative assumptions.

Runtime components and datastores

Runtime topology · External entities, processes and datastores

ResearchersApproved inputs
Publication archiveAcknowledge hash

Reproducible evaluation

Analysis APIManifests and review decisions
Run manifest storerelational metadata
Artifact storageImmutable inputs and results
Isolated processingCompute temporary results and verify hashes
Publication jobSend exactly the verified hashes
Researchers → Analysis APIMetadata and stable reference
Analysis API → Run manifest storeCommit manifest
Isolated processing → Artifact storageLarge files directly
Isolated processing → Analysis APIFinal hash reference
Analysis API → Publication jobReviewed artifacts
Publication job → Publication archiveSend hashes
Publication archive → Analysis APIReturn receipt

Published results bind immutable hashes for input, recipe, and environment.

The analysis API owns relational run manifests and review decisions. Inputs and results reside separately in an immutable artifact store. Isolated computation reads approved inputs, writes temporary results and offers a final reference only after hash verification. Reviewers confirm the comparison; a separate publication job sends exactly these artifacts to the publication archive. The archive returns a hash acknowledgement to the API. Large files flow directly between the compute process and artifact store; metadata flows through the API.

Domain responsibilities within the API

Internal view · Analysis API

ManifestManage input, recipe and environment hashes together
Artifact referenceAddress unchangeable artifact via hash
Review decisionConfirm comparison and origin
Publication jobSend exactly the verified hashes to the archive
Manifest → ArtefaktreferenzDomain call
Artefaktreferenz → PrüfentscheidungDomain call
Prüfentscheidung → PublikationsauftragDomain call

These responsibilities run within the same API process.

The analysis API contains input manifest, recipe binding, comparison review and publication. Show domain call relationships; these modules do not have separate server icons.

Map responsibilities to runtime components

Domain taskRuntimeResponsibility
Input manifestAnalysis APIBinds data provenance to immutable input.
Recipe bindingAnalysis APIFreezes recipe and execution environment.
Comparison testAnalysis APIRecords result comparisons and provenance checks.
PublicationAnalysis APIConnects reviewed artifacts to the archive acknowledgement.
Isolated processingSeparate background processProcesses stored work and external feedback.
Publication archiveExternal boundaryProvides or confirms the evidence agreed for this case.

Input manifest

Runtime
Analysis API
Responsibility
Binds data provenance to immutable input.

Recipe binding

Runtime
Analysis API
Responsibility
Freezes recipe and execution environment.

Comparison test

Runtime
Analysis API
Responsibility
Records result comparisons and provenance checks.

Publication

Runtime
Analysis API
Responsibility
Connects reviewed artifacts to the archive acknowledgement.

Isolated processing

Runtime
Separate background process
Responsibility
Processes stored work and external feedback.

Publication archive

Runtime
External boundary
Responsibility
Provides or confirms the evidence agreed for this case.

Isolate computation processes from the metadata core

Isolate computation processes from the metadata core

Isolate computation processes from the metadata core.

A published result references immutable hashes of input, recipe, and environment; new files generate a new revision.

The run manifest and immutable artifact store must represent the same valid state. Your exercise identifies the input and expected result.

Alternative considered
A dedicated service for each module distributes the promise “A published result references immutable hashes of input, recipe, and environment; new files generate a new revision.” to additional network boundaries.
Trade-off
Common schema changes require coordinated releases.
Reassess
Substantially different compute load or independent ownership would justify a new runtime boundary.

Try it yourself

Classify input manifest, isolated computation and publication archive as module, process or external system. Add the authoritative data store.

A hint for your attempt

A domain responsibility becomes a process only when it has its own execution unit.

Compare with a possible solution
Boundaries
Input manifest is a module within the analysis API; isolated computation is a separate process; the publication archive is external.
Storage
The run manifest and immutable artifact store retain the authoritative evidence. A published result references immutable hashes of input, recipe and environment; new files create a new revision. The metadata transaction binds references to artifacts already stored in full; external responses remain separate evidence.

Apply to your project

Which planned service boundary would distribute a currently local guarantee across the network?

Next: Finished reference follows the hash check.