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
Reproducible evaluation
Published results bind immutable hashes for input, recipe, and environment.
Domain responsibilities within the API
Internal view · Analysis API
These responsibilities run within the same API process.
Map responsibilities to runtime components
| Domain task | Runtime | Responsibility |
|---|---|---|
| Input manifest | Analysis API | Binds data provenance to immutable input. |
| Recipe binding | Analysis API | Freezes recipe and execution environment. |
| Comparison test | Analysis API | Records result comparisons and provenance checks. |
| Publication | Analysis API | Connects reviewed artifacts to the archive acknowledgement. |
| Isolated processing | Separate background process | Processes stored work and external feedback. |
| Publication archive | External boundary | Provides 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.
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?