ADR-0002: Initial Service Structure
Status
Section titled “Status”Accepted for V1.
Context
Section titled “Context”A full microservice architecture would increase operational complexity too early.
The platform still needs clear boundaries and future extraction paths.
Decision
Section titled “Decision”V1 uses a small number of deployables:
- web-console
- platform-api
- mqtt-ingestion-worker
- telemetry-worker
Infrastructure:
- PostgreSQL/TimescaleDB
- Internal message broker or stream
Consequences
Section titled “Consequences”Positive:
- Lower operational complexity.
- Clear ingestion separation.
- Clear API/UI separation.
- Easier local development.
- Future extraction remains possible.
Negative:
- Some modules share deployment units initially.
- Internal module boundaries must be enforced by code and documentation.