The overall architecture
How are the responsibility for maintenance findings and external processing distributed among modules and processes?
The local consistency rule determines the maintenance API boundary. Feature and model processing runs separately for deferred work. The modules windowing, model evaluation, examination of findings, maintenance completion structure responsibility within the API; they are not individually operated services. The sensor source feeds a time-ordered measurement store. Feature and model processing reads closed windows and produces suggestions linked to a model revision. The maintenance API manages relational findings, human approvals and work orders. Maintenance staff review findings through the interface, and production planning schedules approved work. Maintenance reports return as domain-reviewed feedback for later model evaluation. This learning case has no control path from the model process to the machine.
Starting point The window and model version identify the finding.
Assumptions for the example case
Own fictitious example design. Fictional suggestions for a single machine based on vibration trends, with human approval of work orders. Measurement windows last 60 seconds and are closed on the left, open on the right; a measurement at exactly 60 seconds belongs in the next window. All figures and test goals are illustrative assumptions.
Runtime components and datastores
Runtime topology · External entities, processes and datastores
Maintenance suggestion and work order
One finding per measurement window and model revision creates at most one work order approved by a human.
Domain responsibilities within the API
Interior view · Maintenance API
These responsibilities run within the same API process.
Map responsibilities to runtime components
| Domain task | Runtime | Responsibility |
|---|---|---|
| Windowing | Maintenance API | Assigns measurements to fixed time windows and quality characteristics. |
| Model evaluation | Maintenance API | Calculates proposals with documented model version. |
| Finding assessment | Maintenance API | Records human review and its rationale. |
| Maintenance completion | Maintenance API | Links the work order to the actual maintenance report. |
| Feature and model processing | Separate background process | Processes stored work and external feedback. |
| Sensor source | External boundary | Provides or confirms the evidence agreed for this case. |
Windowing
- Runtime
- Maintenance API
- Responsibility
- Assigns measurements to fixed time windows and quality characteristics.
Model evaluation
- Runtime
- Maintenance API
- Responsibility
- Calculates proposals with documented model version.
Finding assessment
- Runtime
- Maintenance API
- Responsibility
- Records human review and its rationale.
Maintenance completion
- Runtime
- Maintenance API
- Responsibility
- Links the work order to the actual maintenance report.
Feature and model processing
- Runtime
- Separate background process
- Responsibility
- Processes stored work and external feedback.
Sensor source
- Runtime
- External boundary
- Responsibility
- Provides or confirms the evidence agreed for this case.
Computation remains separate from the maintenance core
Computation remains separate from the maintenance core.
A machine finding per measurement window and model revision generates at most one approved maintenance order; a model output alone does not trigger a physical equipment effect.
Measurement windows, model references, findings, and maintenance records must represent the same valid state. Your exercise identifies the input and expected result.
- Alternative considered
- A separate service for each module would spread the guarantee of at most one approved work order per machine finding, measurement window and model revision across additional network boundaries. A model output alone still triggers no physical equipment effect.
- Trade-off
- Common schema changes require coordinated releases.
- Reassess
- Significantly deviating load of feature and model processing or independent responsibility justifies a new runtime boundary.
Try it yourself
Assign windowing, feature and model processing and sensor source to the module, process and external system types. Justify the authoritative datastore.
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
- Windowing is a module in maintenance API; feature and model processing is its own process; sensor source is outside.
- Storage
- Measurement windows, model references, findings and maintenance records hold the authoritative evidence. A machine finding per measurement window and model revision generates at most one approved maintenance order; a model output alone does not trigger a physical equipment effect. The joint transaction protects this connection; external responses remain separate evidence.
Apply to your project
Which planned service boundary would distribute a currently local guarantee across the network?