Skip to content
SENS Platform Docs

ADR-0002: Initial Service Structure

Accepted for V1.

A full microservice architecture would increase operational complexity too early.

The platform still needs clear boundaries and future extraction paths.

V1 uses a small number of deployables:

  • web-console
  • platform-api
  • mqtt-ingestion-worker
  • telemetry-worker

Infrastructure:

  • PostgreSQL/TimescaleDB
  • Internal message broker or stream

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.