Architecture decision records¶
- ADR-0001: Record architecture decisions
- ADR-0002: End-to-end acknowledgements; no single hop is trusted
- ADR-0003: Mosquitto at the edge, Kafka in the core
- ADR-0004: Device write-ahead log, durability modes, send only durable records
- ADR-0005: Exactly-once storage with coverage ranges, a row lock per device, and an exclusion constraint
- ADR-0006: Tenant isolation with forced row-level security and SECURITY DEFINER lookups
- ADR-0007: Envelope encryption with per-tenant KEKs outside the database
- ADR-0008: Plain PostgreSQL instead of TimescaleDB
- ADR-0009: Server-assigned device identity; the tenant never comes from the device
- ADR-0010: 30-day device certificates and two-layer revocation
- ADR-0011: Standard library HTTP routing, no framework
- ADR-0012: Deploy the backend with Juju charms on Kubernetes
- ADR-0013: Run the snap’s daemon as snap_daemon, with its state in $SNAP_DATA/state
New records start from the template.